github.com/aavshr/aws-sdk-go@v1.41.3/service/nimblestudio/errors.go (about)

     1  // Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT.
     2  
     3  package nimblestudio
     4  
     5  import (
     6  	"github.com/aavshr/aws-sdk-go/private/protocol"
     7  )
     8  
     9  const (
    10  
    11  	// ErrCodeAccessDeniedException for service response error code
    12  	// "AccessDeniedException".
    13  	ErrCodeAccessDeniedException = "AccessDeniedException"
    14  
    15  	// ErrCodeConflictException for service response error code
    16  	// "ConflictException".
    17  	ErrCodeConflictException = "ConflictException"
    18  
    19  	// ErrCodeInternalServerErrorException for service response error code
    20  	// "InternalServerErrorException".
    21  	ErrCodeInternalServerErrorException = "InternalServerErrorException"
    22  
    23  	// ErrCodeResourceNotFoundException for service response error code
    24  	// "ResourceNotFoundException".
    25  	ErrCodeResourceNotFoundException = "ResourceNotFoundException"
    26  
    27  	// ErrCodeServiceQuotaExceededException for service response error code
    28  	// "ServiceQuotaExceededException".
    29  	ErrCodeServiceQuotaExceededException = "ServiceQuotaExceededException"
    30  
    31  	// ErrCodeThrottlingException for service response error code
    32  	// "ThrottlingException".
    33  	ErrCodeThrottlingException = "ThrottlingException"
    34  
    35  	// ErrCodeValidationException for service response error code
    36  	// "ValidationException".
    37  	ErrCodeValidationException = "ValidationException"
    38  )
    39  
    40  var exceptionFromCode = map[string]func(protocol.ResponseMetadata) error{
    41  	"AccessDeniedException":         newErrorAccessDeniedException,
    42  	"ConflictException":             newErrorConflictException,
    43  	"InternalServerErrorException":  newErrorInternalServerErrorException,
    44  	"ResourceNotFoundException":     newErrorResourceNotFoundException,
    45  	"ServiceQuotaExceededException": newErrorServiceQuotaExceededException,
    46  	"ThrottlingException":           newErrorThrottlingException,
    47  	"ValidationException":           newErrorValidationException,
    48  }