1// Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT.
2
3package batch
4
5import (
6	"github.com/aws/aws-sdk-go/private/protocol"
7)
8
9const (
10
11	// ErrCodeClientException for service response error code
12	// "ClientException".
13	//
14	// These errors are usually caused by a client action, such as using an action
15	// or resource on behalf of a user that doesn't have permissions to use the
16	// action or resource, or specifying an identifier that is not valid.
17	ErrCodeClientException = "ClientException"
18
19	// ErrCodeServerException for service response error code
20	// "ServerException".
21	//
22	// These errors are usually caused by a server issue.
23	ErrCodeServerException = "ServerException"
24)
25
26var exceptionFromCode = map[string]func(protocol.ResponseMetadata) error{
27	"ClientException": newErrorClientException,
28	"ServerException": newErrorServerException,
29}
30