Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HTTPError ¶
func New ¶
New returns a new HTTPError with the given code and message. The Data field is set to nil.
func NewWithData ¶ added in v1.1.1
NewWithData returns a new HTTPError with the given code, message, and data. The Data field is used to provide additional context or information related to the error.
Click to show internal directories.
Click to hide internal directories.