Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckDatabaseError ¶
Types ¶
type Error ¶
type Error int
const ( // InternalServerError internal error InternalServerError Error = http.StatusInternalServerError*1e6 + iota + 1 UploadFileFailed ExtractFileFailed LoadVMFailed )
const ( // @errTalk Unauthorized unauthorized InvalidAuthValue InvalidAuthAccountID NoProjectPermission )
const ( Forbidden Error = http.StatusForbidden*1e6 + iota + 1 // @errTalk deployed instance limit InstanceLimit )
const ( // BadRequest BadRequest Error = http.StatusBadRequest*1e6 + iota + 1 MD5ChecksumFailed InvalidChainClient )
const ( // Conflict conflict error Conflict Error = http.StatusConflict*1e6 + iota + 1 )
const ( // NotFound NotFound Error = http.StatusNotFound*1e6 + iota + 1 )
func (Error) ServiceCode ¶
func (Error) StatusCode ¶
Click to show internal directories.
Click to hide internal directories.