Documentation ¶
Index ¶
- Variables
- type Err
- func NewBadQueryParamsError(err error) *Err
- func NewBadRequestError(err error) *Err
- func NewError(httpCode int, message string, err error) *Err
- func NewInternalServerError(err error) *Err
- func NewNotFoundError(err error) *Err
- func NewRequestTimeoutError(err error) *Err
- func NewUnauthorizedError(err error) *Err
- func ParseError(err error) *Err
Constants ¶
This section is empty.
Variables ¶
View Source
var DBSTATE = "pq: "
View Source
var SQLSTATE = "sql: "
Functions ¶
This section is empty.
Types ¶
type Err ¶
func NewBadQueryParamsError ¶
func NewBadRequestError ¶
func NewInternalServerError ¶
func NewNotFoundError ¶
func NewRequestTimeoutError ¶
func NewUnauthorizedError ¶
func ParseError ¶
func (Err) GetMessage ¶
Click to show internal directories.
Click to hide internal directories.