Debian Codegraph @

service/marketplaceagreement/errors.go

raw
1 // Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT.
2
3 package marketplaceagreement
4
5 import (
6 "github.com/aws/aws-sdk-go/private/protocol"
7 )
8
9 const (
10
11 // ErrCodeAccessDeniedException for service response error code
12 // "AccessDeniedException".
13 //
14 // User does not have sufficient access to perform this action.
15 ErrCodeAccessDeniedException = "AccessDeniedException"
16
17 // ErrCodeInternalServerException for service response error code
18 // "InternalServerException".
19 //
20 // Unexpected error during processing of request.
21 ErrCodeInternalServerException = "InternalServerException"
22
23 // ErrCodeResourceNotFoundException for service response error code
24 // "ResourceNotFoundException".
25 //
26 // Request references a resource which does not exist.
27 ErrCodeResourceNotFoundException = "ResourceNotFoundException"
28
29 // ErrCodeThrottlingException for service response error code
30 // "ThrottlingException".
31 //
32 // Request was denied due to request throttling.
33 ErrCodeThrottlingException = "ThrottlingException"
34
35 // ErrCodeValidationException for service response error code
36 // "ValidationException".
37 //
38 // The input fails to satisfy the constraints specified by the service.
39 ErrCodeValidationException = "ValidationException"
40 )
41
42 var exceptionFromCode = map[string]func(protocol.ResponseMetadata) error{
43 "AccessDeniedException": newErrorAccessDeniedException,
44 "InternalServerException": newErrorInternalServerException,
45 "ResourceNotFoundException": newErrorResourceNotFoundException,
46 "ThrottlingException": newErrorThrottlingException,
47 "ValidationException": newErrorValidationException,
48 }