errnew

package
v0.3.2 Latest Latest
Warning

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

Go to latest
Published: Feb 24, 2021 License: MIT Imports: 7 Imported by: 38

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Empty      = errorwrapper.Empty()
	EmptyPtr   = &Empty
	EmptyPrint = errorwrapper.EmptyPrint()
)

Functions

func Err added in v0.0.8

func Err(
	err error,
) errorwrapper.Wrapper

func ErrInPtr added in v0.0.8

func ErrInPtr(
	err *error,
) *errorwrapper.Wrapper

func ErrPtr added in v0.0.8

func ErrPtr(
	err error,
) *errorwrapper.Wrapper

func Make added in v0.0.2

func Make(
	variant errtype.Variation,
	err error,
	message string,
	collection refs.Collection,
) errorwrapper.Wrapper

func MakePtr added in v0.1.8

func MakePtr(
	variant errtype.Variation,
	err error,
	message string,
	collection refs.Collection,
) *errorwrapper.Wrapper

func Messages

func Messages(
	variant errtype.Variation,
	messages ...string,
) errorwrapper.Wrapper

func MessagesPtr added in v0.1.9

func MessagesPtr(
	variant errtype.Variation,
	messages ...string,
) *errorwrapper.Wrapper

func MessagesWithRefs added in v0.1.4

func MessagesWithRefs(
	variant errtype.Variation,
	varName string, val interface{},
	messages ...string,
) errorwrapper.Wrapper

func New added in v0.0.8

func New(
	variant errtype.Variation,
	err error,
) errorwrapper.Wrapper

func NewInPtr added in v0.0.8

func NewInPtr(
	variant errtype.Variation,
	err *error,
) *errorwrapper.Wrapper

func NewPtr added in v0.0.8

func NewPtr(
	variant errtype.Variation,
	err error,
) *errorwrapper.Wrapper

func NewUsingError added in v0.0.8

func NewUsingError(
	err error,
) errorwrapper.Wrapper

func NewUsingErrorPtr added in v0.0.8

func NewUsingErrorPtr(
	err error,
) *errorwrapper.Wrapper

func NotImpl

func NotImpl(
	url string,
) errorwrapper.Wrapper

func NotImplPtr added in v0.1.8

func NotImplPtr(
	url string,
) *errorwrapper.Wrapper

func NotSupportedOption added in v0.1.4

func NotSupportedOption(
	varName string, val interface{},
	messages ...string,
) errorwrapper.Wrapper

func NotSupportedOptionPtr added in v0.1.8

func NotSupportedOptionPtr(
	varName string, val interface{},
	messages ...string,
) *errorwrapper.Wrapper

func OutOfRange

func OutOfRange(
	start, end, ranges interface{},
	message string,
) errorwrapper.Wrapper

func OutOfRangePtr added in v0.1.8

func OutOfRangePtr(
	start, end, ranges interface{},
	message string,
) *errorwrapper.Wrapper

func Refs

func Refs(
	variant errtype.Variation,
	varName string, val interface{},
	separator string,
	messages ...interface{},
) errorwrapper.Wrapper

func RefsPtr added in v0.1.8

func RefsPtr(
	variant errtype.Variation,
	varName string, val interface{},
	separator string,
	messages ...interface{},
) *errorwrapper.Wrapper

Types

This section is empty.

Jump to

Keyboard shortcuts

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