Documentation ¶
Overview ¶
Package e defines error codes and messages used throughout the go-api project. These codes help standardize error handling and client-side error interpretation.
Index ¶
Constants ¶
View Source
const ( BUSY = -1 // System is busy SUCCESS = 0 // Operation successful ERROR = 500 // General server error InvalidParams = 400 // Invalid parameters ServerAuthorizationExpired = 10002 // Server authorization has expired ServerAuthorizationFail = 10003 // Server authorization failed ServerAppNotFound = 10004 // Server application not found ServerAppAlreadyExists = 10005 // Server application already exists ServerAPIUserNotFound = 10006 // Server API user not found InvalidServerAppID = 10007 // Invalid server application ID )
Error codes
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.