Documentation ¶
Index ¶
- func IsAuthSchemeError(err error) bool
- func IsAuthorizationError(err error) bool
- func IsBadRequest(err error) bool
- func IsBadRequestError(err error) bool
- func IsChecksumError(err error) bool
- func IsConcurrentRequestError(err error) bool
- func IsContentLengthError(err error) bool
- func IsContentMD5MismatchError(err error) bool
- func IsDirectoryDoesNotExistError(err error) bool
- func IsDirectoryExistsError(err error) bool
- func IsDirectoryNotEmptyError(err error) bool
- func IsDirectoryOperationError(err error) bool
- func IsEmptyResponse(err error) bool
- func IsEntityExistsError(err error) bool
- func IsInUseError(err error) bool
- func IsInternalError(err error) bool
- func IsInvalidArgument(err error) bool
- func IsInvalidArgumentError(err error) bool
- func IsInvalidAuthTokenError(err error) bool
- func IsInvalidCredentials(err error) bool
- func IsInvalidCredentialsError(err error) bool
- func IsInvalidDurabilityLevelError(err error) bool
- func IsInvalidHeader(err error) bool
- func IsInvalidJobError(err error) bool
- func IsInvalidKeyIdError(err error) bool
- func IsInvalidLimitError(err error) bool
- func IsInvalidLinkError(err error) bool
- func IsInvalidSignatureError(err error) bool
- func IsInvalidUpdateError(err error) bool
- func IsInvalidVersion(err error) bool
- func IsJobNotFoundError(err error) bool
- func IsJobStateError(err error) bool
- func IsKeyDoesNotExistError(err error) bool
- func IsLinkNotFoundError(err error) bool
- func IsLinkNotObjectError(err error) bool
- func IsLinkRequiredError(err error) bool
- func IsMissingParameter(err error) bool
- func IsNotAcceptableError(err error) bool
- func IsNotAuthorized(err error) bool
- func IsNotEnoughSpaceError(err error) bool
- func IsParentNotDirectoryError(err error) bool
- func IsPreSignedRequestError(err error) bool
- func IsPreconditionFailedError(err error) bool
- func IsRequestEntityTooLargeError(err error) bool
- func IsRequestMoved(err error) bool
- func IsRequestThrottled(err error) bool
- func IsRequestTooLarge(err error) bool
- func IsResourceFound(err error) bool
- func IsResourceNotFound(err error) bool
- func IsResourceNotFoundError(err error) bool
- func IsRootDirectoryError(err error) bool
- func IsSSLRequiredError(err error) bool
- func IsServiceUnavailableError(err error) bool
- func IsSpecificError(myError error, errorCode string) bool
- func IsSpecificStatusCode(myError error, statusCode int) bool
- func IsStatusNotFoundCode(err error) bool
- func IsUnknownError(err error) bool
- func IsUploadTimeoutError(err error) bool
- func IsUserDoesNotExistError(err error) bool
- type APIError
- type ClientError
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsAuthSchemeError ¶
func IsAuthorizationError ¶
func IsBadRequest ¶
func IsBadRequestError ¶
func IsChecksumError ¶
func IsContentLengthError ¶
func IsDirectoryExistsError ¶
func IsEmptyResponse ¶
func IsEntityExistsError ¶
func IsInUseError ¶
func IsInternalError ¶
func IsInvalidArgument ¶
func IsInvalidArgumentError ¶
func IsInvalidAuthTokenError ¶
func IsInvalidCredentials ¶
func IsInvalidHeader ¶
func IsInvalidJobError ¶
func IsInvalidKeyIdError ¶
func IsInvalidLimitError ¶
func IsInvalidLinkError ¶
func IsInvalidSignatureError ¶
func IsInvalidUpdateError ¶
func IsInvalidVersion ¶
func IsJobNotFoundError ¶
func IsJobStateError ¶
func IsKeyDoesNotExistError ¶
func IsLinkNotFoundError ¶
func IsLinkNotObjectError ¶
func IsLinkRequiredError ¶
func IsMissingParameter ¶
func IsNotAcceptableError ¶
func IsNotAuthorized ¶
func IsNotEnoughSpaceError ¶
func IsPreSignedRequestError ¶
func IsRequestMoved ¶
func IsRequestThrottled ¶
func IsRequestTooLarge ¶
func IsResourceFound ¶
func IsResourceNotFound ¶
func IsResourceNotFoundError ¶
func IsRootDirectoryError ¶
func IsSSLRequiredError ¶
func IsSpecificError ¶
func IsSpecificStatusCode ¶
func IsStatusNotFoundCode ¶
func IsUnknownError ¶
func IsUploadTimeoutError ¶
func IsUserDoesNotExistError ¶
Types ¶
type APIError ¶
APIError represents an error code and message along with the status code of the HTTP request which resulted in the error message. Error codes used by the Triton API are listed at https://apidocs.joyent.com/cloudapi/#cloudapi-http-responses Error codes used by the Manta API are listed at https://apidocs.joyent.com/manta/api.html#errors
type ClientError ¶
type ClientError struct { StatusCode int Code string `json:"code"` Message string `json:"message"` }
ClientError represents an error code and message returned when connecting to the triton-go client
func (ClientError) Error ¶
func (e ClientError) Error() string
Error implements interface Error on the ClientError type.
Click to show internal directories.
Click to hide internal directories.