Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewAppError ¶
func NewAppError(options ...ErrorOptions) error
Types ¶
type ErrorOptions ¶
type ErrorOptions func(*HttpError)
func WithError ¶
func WithError(err error) ErrorOptions
func WithStatusCode ¶
func WithStatusCode(status int) ErrorOptions
type HttpError ¶
func (HttpError) ResponseBody ¶
Click to show internal directories.
Click to hide internal directories.