xerror

package
v0.0.0-...-7c4a8a6 Latest Latest
Warning

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

Go to latest
Published: May 21, 2022 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsErrorType

func IsErrorType(err error, t Type) bool

func New

func New(t Type, err error) *internalError

func NewNotFound

func NewNotFound(err error) *internalError

Types

type Type

type Type int
const (
	TypeUnknown Type = iota + 1
	TypeNotFound
)

func ErrorType

func ErrorType(err error) Type

Jump to

Keyboard shortcuts

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