github.com/aavshr/aws-sdk-go@v1.41.3/service/cloudsearchdomain/errors.go (about) 1 // Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT. 2 3 package cloudsearchdomain 4 5 import ( 6 "github.com/aavshr/aws-sdk-go/private/protocol" 7 ) 8 9 const ( 10 11 // ErrCodeDocumentServiceException for service response error code 12 // "DocumentServiceException". 13 // 14 // Information about any problems encountered while processing an upload request. 15 ErrCodeDocumentServiceException = "DocumentServiceException" 16 17 // ErrCodeSearchException for service response error code 18 // "SearchException". 19 // 20 // Information about any problems encountered while processing a search request. 21 ErrCodeSearchException = "SearchException" 22 ) 23 24 var exceptionFromCode = map[string]func(protocol.ResponseMetadata) error{ 25 "DocumentServiceException": newErrorDocumentServiceException, 26 "SearchException": newErrorSearchException, 27 }