File: errors.go

package info (click to toggle)
golang-github-aws-aws-sdk-go 1.49.0-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 312,636 kB
  • sloc: makefile: 120
file content (27 lines) | stat: -rw-r--r-- 822 bytes parent folder | download | duplicates (3)
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
// Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT.

package cloudsearchdomain

import (
	"github.com/aws/aws-sdk-go/private/protocol"
)

const (

	// ErrCodeDocumentServiceException for service response error code
	// "DocumentServiceException".
	//
	// Information about any problems encountered while processing an upload request.
	ErrCodeDocumentServiceException = "DocumentServiceException"

	// ErrCodeSearchException for service response error code
	// "SearchException".
	//
	// Information about any problems encountered while processing a search request.
	ErrCodeSearchException = "SearchException"
)

var exceptionFromCode = map[string]func(protocol.ResponseMetadata) error{
	"DocumentServiceException": newErrorDocumentServiceException,
	"SearchException":          newErrorSearchException,
}