Jerror

package
v0.1.8 Latest Latest
Warning

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

Go to latest
Published: Feb 3, 2023 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsErrWithCode

func IsErrWithCode(err error) bool

Types

type ErrWithCode

type ErrWithCode struct {
	Code int
	Err  error
}

func AssertErrWithCode

func AssertErrWithCode(err error) *ErrWithCode

func NewErrWithCode

func NewErrWithCode(code int, err error) *ErrWithCode

func (*ErrWithCode) Error

func (err *ErrWithCode) Error() string

Jump to

Keyboard shortcuts

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