sqserr

package
v0.0.0-...-bcdc46a Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 25, 2025 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BatchResultErrorEntry

type BatchResultErrorEntry struct {
	Id          string
	SenderFault bool
	Message     string
	Code        string
}

type SQSError

type SQSError struct {
	XMLName      xml.Name `xml:"http://queue.amazonaws.com/doc/2012-11-05/ ErrorResponse"`
	Type         string   `xml:"Error>Type"`
	Code         string   `xml:"Error>Code"`
	Message      string   `xml:"Error>Message"`
	Detail       string   `xml:"Error>Detail"`
	RequestId    string   `xml:"RequestId"`
	HttpRespCode int      `xml:"-"`
}

func EmptyBatchRequestError

func EmptyBatchRequestError() *SQSError

func EmptyValueError

func EmptyValueError(msg string) *SQSError

func Error400

func Error400(code, msg string, params ...interface{}) *SQSError

func InvalidActionError

func InvalidActionError(actionName string) *SQSError

func InvalidAttributeNameError

func InvalidAttributeNameError(msg string, params ...interface{}) *SQSError

func InvalidAttributeValueError

func InvalidAttributeValueError(msg string, params ...interface{}) *SQSError

func InvalidParameterValueError

func InvalidParameterValueError(msg string, params ...interface{}) *SQSError

func InvalidQueueNameError

func InvalidQueueNameError() *SQSError

func InvalidReceiptHandleError

func InvalidReceiptHandleError(msg string) *SQSError

func MalformedInputError

func MalformedInputError(msg string) *SQSError

func MissingParameterError

func MissingParameterError(msg string, params ...interface{}) *SQSError

func NotDistinctIdsError

func NotDistinctIdsError(id string) *SQSError

func QueueAlreadyExistsError

func QueueAlreadyExistsError(msg string) *SQSError

func QueueDoesNotExist

func QueueDoesNotExist() *SQSError

func ServerSideError

func ServerSideError(msg string) *SQSError

func ServiceDeniedError

func ServiceDeniedError() *SQSError

func TooManyEntriesInBatchRequestError

func TooManyEntriesInBatchRequestError() *SQSError

func (*SQSError) BatchResult

func (self *SQSError) BatchResult(docId string) interface{}

func (*SQSError) Error

func (self *SQSError) Error() string

func (*SQSError) HttpCode

func (self *SQSError) HttpCode() int

func (*SQSError) XmlDocument

func (self *SQSError) XmlDocument() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL