errors

package
v1.1.3-2x1 Latest Latest
Warning

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

Go to latest
Published: Nov 17, 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 Code) error

func WrapMessage

func WrapMessage(err error, msg string) error

func WrapMessageWithCode

func WrapMessageWithCode(err error, msg string, code Code) error

Types

type Code added in v1.2.29

type Code interface{}

Jump to

Keyboard shortcuts

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