Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func HandleCustomErrors ¶
func HandleErrors ¶
func HandleErrors(formErrors interface{}) error
Types ¶
type FieldErrors ¶
func (FieldErrors) Error ¶
func (fe FieldErrors) Error() string
type NotFoundError ¶
type NotFoundError string
func (NotFoundError) Error ¶
func (e NotFoundError) Error() string
type PermissionError ¶
type PermissionError struct {
Message string
}
func (*PermissionError) Error ¶
func (e *PermissionError) Error() string
type UnauthorizedError ¶
type UnauthorizedError struct {
}func (*UnauthorizedError) Error ¶
func (e *UnauthorizedError) Error() string
Click to show internal directories.
Click to hide internal directories.