mirror of
https://github.com/kataras/iris.git
synced 2025-12-17 09:57:01 +00:00
rename master branch to main
This commit is contained in:
@@ -240,7 +240,7 @@ var (
|
||||
//
|
||||
// Examples can be found at:
|
||||
//
|
||||
// https://github.com/kataras/iris/tree/master/_examples/routing/http-wire-errors.
|
||||
// https://github.com/kataras/iris/tree/main/_examples/routing/http-wire-errors.
|
||||
type Error struct {
|
||||
ErrorCode ErrorCode `json:"http_error_code" yaml:"HTTPErrorCode"`
|
||||
Message string `json:"message,omitempty" yaml:"Message"`
|
||||
|
||||
@@ -14,7 +14,7 @@ import (
|
||||
//
|
||||
// Example can be found at:
|
||||
//
|
||||
// https://github.com/kataras/iris/tree/master/_examples/routing/http-wire-errors/custom-validation-errors
|
||||
// https://github.com/kataras/iris/tree/main/_examples/routing/http-wire-errors/custom-validation-errors
|
||||
type ValidationError interface {
|
||||
error
|
||||
|
||||
|
||||
Reference in New Issue
Block a user