service/taxsettings/errors.go (16 lines of code) (raw):

// Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT. package taxsettings import ( "github.com/aws/aws-sdk-go/private/protocol" ) const ( // ErrCodeConflictException for service response error code // "ConflictException". // // The exception when the input is creating conflict with the given state. ErrCodeConflictException = "ConflictException" // ErrCodeInternalServerException for service response error code // "InternalServerException". // // The exception thrown when an unexpected error occurs when processing a request. ErrCodeInternalServerException = "InternalServerException" // ErrCodeResourceNotFoundException for service response error code // "ResourceNotFoundException". // // The exception thrown when the input doesn't have a resource associated to // it. ErrCodeResourceNotFoundException = "ResourceNotFoundException" // ErrCodeValidationException for service response error code // "ValidationException". // // The exception when the input doesn't pass validation for at least one of // the input parameters. ErrCodeValidationException = "ValidationException" ) var exceptionFromCode = map[string]func(protocol.ResponseMetadata) error{ "ConflictException": newErrorConflictException, "InternalServerException": newErrorInternalServerException, "ResourceNotFoundException": newErrorResourceNotFoundException, "ValidationException": newErrorValidationException, }