errors

package
v1.1.3-2x14 Latest Latest
Warning

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

Go to latest
Published: Dec 23, 2021 License: MIT Imports: 0 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

View Source
var DefaultSeparator string = "\n"

Functions

func Cause

func Cause(err error) error

func New

func New(msg string) error

func NewWithCode

func NewWithCode(msg string, code interface{}) error

func UnWrap

func UnWrap(err error) error

func WrapMessage

func WrapMessage(err error, msg string) error

func WrapMessageWithCode

func WrapMessageWithCode(err error, msg string, code interface{}) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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