Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func HandlerWEcho ¶
func IsNotFoundError ¶
Types ¶
type BasicError ¶
type BasicError struct {
Code int `json:"code"`
Error interface{} `json:"error"`
}
type HandleableError ¶
type MessagedError ¶
func NewMessagedError ¶
func NewMessagedError(message string, code int) *MessagedError
func (MessagedError) Error ¶
func (c MessagedError) Error() string
func (MessagedError) StatusCode ¶
func (c MessagedError) StatusCode() int
type ValidationError ¶
Click to show internal directories.
Click to hide internal directories.