Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Is     = stderrors.Is
	As     = stderrors.As
	New    = stderrors.New
	Unwrap = stderrors.Unwrap
)

    Import functions from Standard Library. nolint:gochecknoglobals

    View Source
    var (
    	ErrNotAPointer = NewInvalidParamError("not a pointer")
    )

    Functions

    func NewInvalidParamError

    func NewInvalidParamError(msg string) error

    func NewInvalidResponseError

    func NewInvalidResponseError(msg string) error

    func NewInvalidStartTokenError

    func NewInvalidStartTokenError(start *xml.StartElement) error

    Types

    type ErrInvalidParam

    type ErrInvalidParam struct {
    	// contains filtered or unexported fields
    }

    func (*ErrInvalidParam) Error

    func (e *ErrInvalidParam) Error() string

    func (*ErrInvalidParam) Is

    func (e *ErrInvalidParam) Is(target error) bool

    type ErrInvalidResponse

    type ErrInvalidResponse struct {
    	// contains filtered or unexported fields
    }

    func (*ErrInvalidResponse) Error

    func (e *ErrInvalidResponse) Error() string

    func (*ErrInvalidResponse) Is

    func (e *ErrInvalidResponse) Is(target error) bool

    type ErrInvalidStartToken

    type ErrInvalidStartToken struct {
    	// contains filtered or unexported fields
    }

    func (*ErrInvalidStartToken) Error

    func (e *ErrInvalidStartToken) Error() string

    func (*ErrInvalidStartToken) Is

    func (e *ErrInvalidStartToken) Is(target error) bool