github.com/aavshr/aws-sdk-go@v1.41.3/private/model/api/codegentest/service/restjsonservice/errors.go (about)

     1  // Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT.
     2  
     3  package restjsonservice
     4  
     5  import (
     6  	"github.com/aavshr/aws-sdk-go/private/protocol"
     7  )
     8  
     9  const (
    10  
    11  	// ErrCodeExceptionEvent for service response error code
    12  	// "ExceptionEvent".
    13  	ErrCodeExceptionEvent = "ExceptionEvent"
    14  
    15  	// ErrCodeExceptionEvent2 for service response error code
    16  	// "ExceptionEvent2".
    17  	ErrCodeExceptionEvent2 = "ExceptionEvent2"
    18  )
    19  
    20  var exceptionFromCode = map[string]func(protocol.ResponseMetadata) error{
    21  	"ExceptionEvent":  newErrorExceptionEvent,
    22  	"ExceptionEvent2": newErrorExceptionEvent2,
    23  }