errors

package
v2.0.0 Latest Latest
Warning

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

Go to latest
Published: Jul 8, 2024 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ErrDetails

type ErrDetails struct {
	Reason  error
	API     string
	Msg     string
	Details interface{}
}

ErrDetails details error

func (ErrDetails) Cause

func (e ErrDetails) Cause() error

Cause supports errors package

func (ErrDetails) Error

func (e ErrDetails) Error() string

Error impl 'error'

func (ErrDetails) MarshalJSON

func (e ErrDetails) MarshalJSON() ([]byte, error)

MarshalJSON impl 'json.Marshaler'

Jump to

Keyboard shortcuts

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