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 38 39 40 41 42 43 44 45 46 47 48 49 50
|
// Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT.
package qldbsession
import (
"github.com/aws/aws-sdk-go/private/protocol"
)
const (
// ErrCodeBadRequestException for service response error code
// "BadRequestException".
//
// Returned if the request is malformed or contains an error such as an invalid
// parameter value or a missing required parameter.
ErrCodeBadRequestException = "BadRequestException"
// ErrCodeInvalidSessionException for service response error code
// "InvalidSessionException".
//
// Returned if the session doesn't exist anymore because it timed out or expired.
ErrCodeInvalidSessionException = "InvalidSessionException"
// ErrCodeLimitExceededException for service response error code
// "LimitExceededException".
//
// Returned if a resource limit such as number of active sessions is exceeded.
ErrCodeLimitExceededException = "LimitExceededException"
// ErrCodeOccConflictException for service response error code
// "OccConflictException".
//
// Returned when a transaction cannot be written to the journal due to a failure
// in the verification phase of optimistic concurrency control (OCC).
ErrCodeOccConflictException = "OccConflictException"
// ErrCodeRateExceededException for service response error code
// "RateExceededException".
//
// Returned when the rate of requests exceeds the allowed throughput.
ErrCodeRateExceededException = "RateExceededException"
)
var exceptionFromCode = map[string]func(protocol.ResponseMetadata) error{
"BadRequestException": newErrorBadRequestException,
"InvalidSessionException": newErrorInvalidSessionException,
"LimitExceededException": newErrorLimitExceededException,
"OccConflictException": newErrorOccConflictException,
"RateExceededException": newErrorRateExceededException,
}
|