service/qapps/errors.go (26 lines of code) (raw):

// Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT. package qapps import ( "github.com/aws/aws-sdk-go/private/protocol" ) const ( // ErrCodeAccessDeniedException for service response error code // "AccessDeniedException". // // The client is not authorized to perform the requested operation. ErrCodeAccessDeniedException = "AccessDeniedException" // ErrCodeConflictException for service response error code // "ConflictException". // // The requested operation could not be completed due to a conflict with the // current state of the resource. ErrCodeConflictException = "ConflictException" // ErrCodeContentTooLargeException for service response error code // "ContentTooLargeException". // // The requested operation could not be completed because the content exceeds // the maximum allowed size. ErrCodeContentTooLargeException = "ContentTooLargeException" // ErrCodeInternalServerException for service response error code // "InternalServerException". // // An internal service error occurred while processing the request. ErrCodeInternalServerException = "InternalServerException" // ErrCodeResourceNotFoundException for service response error code // "ResourceNotFoundException". // // The requested resource could not be found. ErrCodeResourceNotFoundException = "ResourceNotFoundException" // ErrCodeServiceQuotaExceededException for service response error code // "ServiceQuotaExceededException". // // The requested operation could not be completed because it would exceed the // service's quota or limit. ErrCodeServiceQuotaExceededException = "ServiceQuotaExceededException" // ErrCodeThrottlingException for service response error code // "ThrottlingException". // // The requested operation could not be completed because too many requests // were sent at once. Wait a bit and try again later. ErrCodeThrottlingException = "ThrottlingException" // ErrCodeUnauthorizedException for service response error code // "UnauthorizedException". // // The client is not authenticated or authorized to perform the requested operation. ErrCodeUnauthorizedException = "UnauthorizedException" // ErrCodeValidationException for service response error code // "ValidationException". // // The input failed to satisfy the constraints specified by the service. ErrCodeValidationException = "ValidationException" ) var exceptionFromCode = map[string]func(protocol.ResponseMetadata) error{ "AccessDeniedException": newErrorAccessDeniedException, "ConflictException": newErrorConflictException, "ContentTooLargeException": newErrorContentTooLargeException, "InternalServerException": newErrorInternalServerException, "ResourceNotFoundException": newErrorResourceNotFoundException, "ServiceQuotaExceededException": newErrorServiceQuotaExceededException, "ThrottlingException": newErrorThrottlingException, "UnauthorizedException": newErrorUnauthorizedException, "ValidationException": newErrorValidationException, }