Documentation ¶
Overview ¶
Code generated by "gors-error -type=int "; DO NOT EDIT.
Index ¶
Constants ¶
View Source
const ( // Unknown - 500: Internal server error. Unknown int = iota + 100001 // Bind - 400: Error occurred while binding the request body to the struct. Bind // Validation - 400: Validation failed. Validation )
base: base errors.
View Source
const ( // AccountAuthTypeInvalid - 400: Account AuthType not support. AccountAuthTypeInvalid int = iota + 110001 // UserNotFound - 400: User Not Found. UserNotFound // UserDisabled - 400: User disabled. UserDisabled )
Account-server: Account errors.
Variables ¶
View Source
var ( ErrUnknown = gors.Error{ StatusCode: 500, Code: Unknown, Message: "Internal server error", }.Froze() ErrBind = gors.Error{ StatusCode: 400, Code: Bind, Message: "Error occurred while binding the request body to the struct", }.Froze() ErrValidation = gors.Error{ StatusCode: 400, Code: Validation, Message: "Validation failed", }.Froze() ErrAccountAuthTypeInvalid = gors.Error{ StatusCode: 400, Code: AccountAuthTypeInvalid, Message: "Account AuthType not support", }.Froze() ErrUserNotFound = gors.Error{ StatusCode: 400, Code: UserNotFound, Message: "User Not Found", }.Froze() ErrUserDisabled = gors.Error{ StatusCode: 400, Code: UserDisabled, Message: "User disabled", }.Froze() )
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.