Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ErrorHandler ¶
func ErrorHandler(e *echo.Echo) echo.HTTPErrorHandler
Types ¶
type Error ¶
type Error struct { Message string `json:"message"` Where string `json:"location,omitempty"` DetailedError string `json:"detailed_error,omitempty"` StatusCode int `json:"status_code"` Validation []ValidationError `json:"validation,omitempty"` }
func NewAppError ¶
func NewAuthnError ¶
func NewAuthzError ¶
func NewValidationError ¶
type ValidationError ¶
Click to show internal directories.
Click to hide internal directories.