Documentation ¶
Index ¶
Constants ¶
View Source
const ( ErrInvalidParams int32 = 400001 ErrUnhealthy int32 = 400002 ErrServiceAlreadyExists int32 = 400010 ErrServiceNotExists int32 = 400012 ErrDeployedInstance int32 = 400013 ErrUndefinedSchemaID int32 = 400014 ErrModifySchemaNotAllow int32 = 400015 ErrSchemaNotExists int32 = 400016 ErrInstanceNotExists int32 = 400017 ErrTagNotExists int32 = 400018 ErrRuleAlreadyExists int32 = 400019 ErrBlackAndWhiteRule int32 = 400020 ErrModifyRuleNotAllow int32 = 400021 ErrRuleNotExists int32 = 400022 ErrDependedOnConsumer int32 = 400023 ErrPermissionDeny int32 = 400024 ErrEndpointAlreadyExists int32 = 400025 ErrServiceVersionNotExists int32 = 400026 ErrNotEnoughQuota int32 = 400100 ErrForbidden int32 = 403001 ErrConflictAccount int32 = 409001 ErrInternal int32 = 500003 )
Variables ¶
This section is empty.
Functions ¶
func RegisterErrors ¶
Types ¶
type Error ¶
type Error struct { Code int32 `json:"errorCode,string"` Message string `json:"errorMessage"` Detail string `json:"detail,omitempty"` }
func (*Error) InternalError ¶
func (*Error) StatusCode ¶
Click to show internal directories.
Click to hide internal directories.