errors

package
v0.0.0-...-6f249fe Latest Latest
Warning

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

Go to latest
Published: Jul 10, 2020 License: MPL-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ToError

func ToError(err error) error

ToError ...

Types

type ErrorTarget

type ErrorTarget struct {
	Name string
	Type string
}

ErrorTarget ...

type RiaasError

type RiaasError struct {
	Payload *models.Riaaserror
}

RiaasError ...

func (RiaasError) Error

func (e RiaasError) Error() string

type SingleError

type SingleError struct {
	Code     string
	Message  string
	MoreInfo string
	Target   ErrorTarget
}

SingleError ...

Jump to

Keyboard shortcuts

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