Documentation ¶
Index ¶
Constants ¶
View Source
const ( // Unspecified error ERROR_1 string = "SRS-MGMT-1" // Registry with id='?' not found ERROR_2 string = "SRS-MGMT-2" // Bad date or time format ERROR_3 string = "SRS-MGMT-3" // Invalid request content or parameters. Make sure the request conforms to the given JSON schema ERROR_4 string = "SRS-MGMT-4" // Bad request format - invalid JSON ERROR_5 string = "SRS-MGMT-5" // Required terms have not been accepted for account id='?' ERROR_6 string = "SRS-MGMT-6" // The maximum number of allowed Registry instances has been reached ERROR_7 string = "SRS-MGMT-7" // Error type with id='?' not found ERROR_8 string = "SRS-MGMT-8" // Data conflict. Make sure a Registry with the given name does not already exist ERROR_9 string = "SRS-MGMT-9" // Bad request format - unsupported media type ERROR_10 string = "SRS-MGMT-10" // Could not check quota for user? ERROR_11 string = "SRS-MGMT-11" // Evaluation instances not allowed. ERROR_12 string = "SRS-MGMT-12" // User already has the maximum number of allowed Evaluation instances. ERROR_13 string = "SRS-MGMT-13" // Total (global) number of instances exhausted. ERROR_14 string = "SRS-MGMT-14" )
Variables ¶
This section is empty.
Functions ¶
func GetAPIError ¶
func GetAPIError(err error) *registrymgmtclient.Error
GetAPIError gets a strongly typed error from an error
func IsAPIError ¶
IsAPIError returns true if the error contains the errCode
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.