errors

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Dec 7, 2023 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AcquirerError

type AcquirerError struct {
	Code    int
	Message string
}

func NewAcquirerError

func NewAcquirerError(code int, message string) *AcquirerError

func (*AcquirerError) Error

func (e *AcquirerError) Error() string

type InternalError

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

func NewInternalError

func NewInternalError(err error) *InternalError

func (*InternalError) Error

func (e *InternalError) Error() string

func (*InternalError) Unwrap

func (e *InternalError) Unwrap() error

type NotFoundError

type NotFoundError struct {
	Message string
}

func NewNotFoundError

func NewNotFoundError(message string) *NotFoundError

func (*NotFoundError) Error

func (e *NotFoundError) Error() string

type ValidationError

type ValidationError struct {
	Messages []string
}

func NewValidationError

func NewValidationError(messages ...string) *ValidationError

func (*ValidationError) Error

func (e *ValidationError) Error() string

Jump to

Keyboard shortcuts

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