Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ErrorMessage ¶
type ErrorMessage struct {
Reason string `json:"reason"`
Advice string `json:"advice,omitempty"`
See string `json:"see,omitempty"`
Cause error `json:"-"`
}
func (ErrorMessage) Error ¶
func (e ErrorMessage) Error() string
func (ErrorMessage) String ¶
func (e ErrorMessage) String() string
func (*ErrorMessage) UnmarshalJSON ¶
func (em *ErrorMessage) UnmarshalJSON(bytes []byte) error
func (ErrorMessage) Unwrap ¶
func (e ErrorMessage) Unwrap() error
type ErrorResponse ¶
type ErrorResponse struct {
Message ErrorMessage `json:"message"`
}
Click to show internal directories.
Click to hide internal directories.