wraperr

package module
v0.0.0-...-2aac6bc Latest Latest
Warning

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

Go to latest
Published: May 10, 2021 License: Apache-2.0 Imports: 4 Imported by: 0

README

go-wraperr

Yet another GoLang Error handling library

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ErrorStringType

type ErrorStringType string

type WrapErr

type WrapErr struct {
	Content interface{}
	// contains filtered or unexported fields
}

func New

func New(format string) *WrapErr

func (*WrapErr) Cause

func (e *WrapErr) Cause() interface{}

func (*WrapErr) Error

func (e *WrapErr) Error() string

func (*WrapErr) Errorf

func (e *WrapErr) Errorf(args ...interface{}) *WrapErr

func (*WrapErr) GetContent

func (e *WrapErr) GetContent() interface{}

func (*WrapErr) Is

func (e *WrapErr) Is(err error) bool

func (*WrapErr) SetContent

func (e *WrapErr) SetContent(content interface{}) *WrapErr

func (*WrapErr) Unwrap

func (e *WrapErr) Unwrap() error

func (*WrapErr) Wrap

func (e *WrapErr) Wrap(err error, args ...interface{}) *WrapErr

Jump to

Keyboard shortcuts

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