Documentation
¶
Index ¶
- func Check(err error, checks ...check) bool
- func CheckErrorCode(errorCode errorCode.ErrorCode) check
- func CheckInvalidUserInput(parameterName string) check
- func Convert(err error, convertors ...convertor) error
- func ConvertErrorCode(errorCode errorCode.ErrorCode, errMessage string) convertor
- func ConvertInvalidUserInput(parameterName string, errMessage string) convertor
- func IsUserError(err error) bool
- type UserError
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckErrorCode ¶
func CheckInvalidUserInput ¶
func CheckInvalidUserInput(parameterName string) check
func ConvertErrorCode ¶
func ConvertInvalidUserInput ¶
func IsUserError ¶
Types ¶
type UserError ¶
type UserError struct {
// contains filtered or unexported fields
}
func AsUserError ¶
func NewUserError ¶
Click to show internal directories.
Click to hide internal directories.