errors

package
v1.0.30 Latest Latest
Warning

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

Go to latest
Published: Jun 1, 2020 License: Apache-2.0 Imports: 3 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ToError

func ToError(err error) error

ToError ...

Types

type Error

type Error struct {
	Payload *models.Error
}

PowerError ...

func (Error) Error

func (e Error) Error() string

type ErrorTarget

type ErrorTarget struct {
	Name string
	Type string
}

ErrorTarget ...

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