Documentation ¶
Index ¶
- type BaseError
- func BadLogin() *BaseError
- func FailedValidation(errors []*ValidatorError) *BaseError
- func InternalServerError(privateMessage string) *BaseError
- func MessageDoesNotExits() *BaseError
- func MissingBearer() *BaseError
- func NotValidToken() *BaseError
- func OwnerDoesNotExits() *BaseError
- func RecipientDoesNotExits() *BaseError
- func UnexpectedSigningMethod(alg interface{}) *BaseError
- func UnprocessableEntity(privateMessage string) *BaseError
- func UserExists() *BaseError
- type HermesError
- type ValidatorError
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BaseError ¶
type BaseError struct { PrivateMessage string // contains filtered or unexported fields }
func FailedValidation ¶
func FailedValidation(errors []*ValidatorError) *BaseError
func InternalServerError ¶
func MessageDoesNotExits ¶
func MessageDoesNotExits() *BaseError
func MissingBearer ¶
func MissingBearer() *BaseError
func NotValidToken ¶
func NotValidToken() *BaseError
func OwnerDoesNotExits ¶
func OwnerDoesNotExits() *BaseError
func RecipientDoesNotExits ¶
func RecipientDoesNotExits() *BaseError
func UnexpectedSigningMethod ¶
func UnexpectedSigningMethod(alg interface{}) *BaseError
func UnprocessableEntity ¶
func UserExists ¶
func UserExists() *BaseError
func (*BaseError) LogPrivate ¶
func (b *BaseError) LogPrivate()
type HermesError ¶
type ValidatorError ¶
Click to show internal directories.
Click to hide internal directories.