Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ApiError ¶
type ApiError struct { Err error ServerErrorResponse *ServerError }
func NewApiError ¶
func (*ApiError) IsServerError ¶
type ServerError ¶
type ServerError 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.