Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Details ¶
type Details struct {
Type string `json:"type"`
Title string `json:"title"`
Detail string `json:"detail,omitempty"`
Specifics interface{} `json:"specifics,omitempty"`
Error string `json:"error,omitempty"`
}
Details is the main item of the package. When serialized, it produces a valid RFC-7807 problem details structure.
func (*Details) AttachError ¶
AttachError attaches an error to the calling Details object.
Click to show internal directories.
Click to hide internal directories.