1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37
|
// Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT.
package storagegateway
import (
"github.com/aws/aws-sdk-go/private/protocol"
)
const (
// ErrCodeInternalServerError for service response error code
// "InternalServerError".
//
// An internal server error has occurred during the request. For more information,
// see the error and message fields.
ErrCodeInternalServerError = "InternalServerError"
// ErrCodeInvalidGatewayRequestException for service response error code
// "InvalidGatewayRequestException".
//
// An exception occurred because an invalid gateway request was issued to the
// service. For more information, see the error and message fields.
ErrCodeInvalidGatewayRequestException = "InvalidGatewayRequestException"
// ErrCodeServiceUnavailableError for service response error code
// "ServiceUnavailableError".
//
// An internal server error has occurred because the service is unavailable.
// For more information, see the error and message fields.
ErrCodeServiceUnavailableError = "ServiceUnavailableError"
)
var exceptionFromCode = map[string]func(protocol.ResponseMetadata) error{
"InternalServerError": newErrorInternalServerError,
"InvalidGatewayRequestException": newErrorInvalidGatewayRequestException,
"ServiceUnavailableError": newErrorServiceUnavailableError,
}
|