Documentation
¶
Index ¶
- func ApiCustomException(code int, msg string) error
- func ApiException(err error) error
- func ClientException(err error) error
- func SqlException(err error) error
- func ValidationException(err error, msg ...string) error
- type ApiCustomError
- type ApiError
- type ClientError
- type SqlError
- type ValidationError
- type ValidationErrors
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ApiCustomError ¶
type ApiCustomError struct {
*handler.ExceptionError
}
type ApiError ¶
type ApiError struct {
*handler.ExceptionError
}
type ClientError ¶
type ClientError struct {
*handler.ExceptionError
}
type SqlError ¶
type SqlError struct {
*handler.ExceptionError
Number uint16
}
type ValidationError ¶
type ValidationError struct {
*handler.ExceptionError
Field string
Tag string
ValidationErrors []ValidationErrors
}
type ValidationErrors ¶
Source Files
¶
Click to show internal directories.
Click to hide internal directories.