-
Notifications
You must be signed in to change notification settings - Fork 2.1k
/
errors.go
38 lines (31 loc) · 1.36 KB
/
errors.go
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
// Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT.
package qldbsession
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.
ErrCodeOccConflictException = "OccConflictException"
// ErrCodeRateExceededException for service response error code
// "RateExceededException".
//
// Returned when the rate of requests exceeds the allowed throughput.
ErrCodeRateExceededException = "RateExceededException"
)