Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ExtensionError ¶
type ExtensionError struct {
// A human-readable explanation specific to this occurrence of the problem.
Detail *string `json:"detail,omitempty"`
// A URI reference that identifies the specific occurrence of the problem.
Instance *string `json:"instance,omitempty"`
// A short, human-readable summary of the problem type.
Title string `json:"title"`
// A URI reference that identifies the problem type.
Type *string `json:"type,omitempty"`
}
func ToError ¶
func ToError(title string, err error) ExtensionError
Click to show internal directories.
Click to hide internal directories.