errs

package
v0.84.1 Latest Latest
Warning

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

Go to latest
Published: May 11, 2023 License: MIT Imports: 2 Imported by: 9

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewInternal

func NewInternal(msg string) error

func NewUser

func NewUser(msg string) error

NewUser returns a new user error

func NewUserf

func NewUserf(msg string, a ...interface{}) error

func WrapInternal

func WrapInternal(e error, msg string) error

func WrapUser

func WrapUser(e error, msg string) error

func WrapUserf

func WrapUserf(e error, msg string, a ...interface{}) error

Types

type Internal

type Internal struct {
	// contains filtered or unexported fields
}

func (*Internal) Error

func (u *Internal) Error() string

type User

type User struct {
	// contains filtered or unexported fields
}

func (*User) Error

func (u *User) Error() string

Jump to

Keyboard shortcuts

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