Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Problem ¶
type Problem struct { Type string `json:"type"` Title string `json:"title"` Status int `json:"status"` Detail string `json:"detail"` Instance string `json:"instance"` }
Problem defines the Problem JSON type defined by RFC 7807 - media type application/problem+json. It should be the expected error response for all APIs.
Click to show internal directories.
Click to hide internal directories.