Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BadParamsError ¶
func BadRequestError ¶
func ErrorCodeStrings ¶
func ErrorCodeStrings() []string
ErrorCodeStrings returns a slice of all String values of the enum
func InternalError ¶
func InternalError(c echo.Context) error
func ValidationFailedError ¶ added in v0.4.18
Types ¶
type ErrorCode ¶
type ErrorCode int
func ErrorCodeString ¶
ErrorCodeString retrieves an enum value from the enum constants string name. Throws an error if the param is not part of the enum.
func ErrorCodeValues ¶
func ErrorCodeValues() []ErrorCode
ErrorCodeValues returns all values of the enum
func (ErrorCode) IsAErrorCode ¶
IsAErrorCode returns "true" if the value is listed in the enum definition. "false" otherwise
func (ErrorCode) MarshalJSON ¶
MarshalJSON implements the json.Marshaler interface for ErrorCode
func (*ErrorCode) UnmarshalJSON ¶
UnmarshalJSON implements the json.Unmarshaler interface for ErrorCode
type ErrorResponse ¶
Click to show internal directories.
Click to hide internal directories.