Documentation ¶
Index ¶
Constants ¶
View Source
const ( ApiError_UserToken = "Your user token is not valid or has expired." ApiError_DeviceToken = "Your device token is not valid or has expired." ApiError_Json = "Could not parse request. Some fields may be missing." ApiError_UserDoesntExist = "User Doesn't Exist." ApiError_UserAlreadyExists = "User Already Exists." ApiError_Permissions = "You do not have access." ApiError_Bad_Email_Password = "You entered an incorrect Email or Password." ApiError_User_Disabled = "Account is currently deactivated." ApiError_Server = "Something went wrong. Please try again." ApiError_Activating_Email = "Email couldn't be activate. The activation code has likely expired. Try requesting a new activation code." )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ErrorResponse ¶
type ErrorResponse struct { Code int `json:"code,string"` Message string `json:"message,string"` Redirect string `json:"redirect,string"` Data interface{} `json:"data,string"` }
An Error Response is the default error that is used for api responses.
swagger:model error
Click to show internal directories.
Click to hide internal directories.