err

package
v0.0.0-...-b856168 Latest Latest
Warning

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

Go to latest
Published: Aug 24, 2021 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 Const

type Const string

A Const error which means that the error can't be changed, unlike a var error.

func (Const) Error

func (c Const) Error() string

Get the error message

func (Const) Is

func (c Const) Is(t error) bool

Is c the same as thet (target)

func (Const) Wrap

func (c Const) Wrap(inner error) error

Wrap the inner error inside the const error

Jump to

Keyboard shortcuts

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