Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AppError ¶
func HTTPErrorTOJSON ¶
func MarshallingError ¶
func NewAppError ¶
func UnsupportedOperation ¶
func UnsupportedOperation() *AppError
type HTTPError ¶
type HTTPError struct { Code int `json:"code"` Message string `json:"message"` Error struct { Code int `json:"code"` Name string `json:"name"` What string `json:"what"` Details []struct { Message string `json:"message"` File string `json:"file"` LineNumber int `json:"line_number"` Method string `json:"method"` } `json:"details"` } `json:"error"` }
Click to show internal directories.
Click to hide internal directories.