errors

package
Version: v0.0.0-...-95245e9 Latest Latest
Warning

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

Go to latest
Published: Mar 29, 2021 License: BSD-3-Clause Imports: 3 Imported by: 0

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

Jump to

Keyboard shortcuts

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