Documentation ¶
Overview ¶
Custom Errors
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewBadRequestErrorResponse ¶
func NewBadRequestErrorResponse(msg string) *models.ErrorResponse
func NewInternalServerError ¶
func NewInternalServerError(msg string) *models.ErrorResponse
func NewNotFoundErrorResponse ¶
func NewNotFoundErrorResponse(msg string) *models.ErrorResponse
Types ¶
type NotFoundError ¶
type NotFoundError struct{}
func (*NotFoundError) Error ¶
func (e *NotFoundError) Error() string
Click to show internal directories.
Click to hide internal directories.