errs

package
v0.13.4 Latest Latest
Warning

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

Go to latest
Published: Nov 18, 2022 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewErrorWithCode

func NewErrorWithCode(err string, code int) error

func NewErrorfWithCode

func NewErrorfWithCode(code int, f string, args ...interface{}) error

Types

type ErrorWithCode

type ErrorWithCode struct {
	Code int // error code
	// contains filtered or unexported fields
}

func (*ErrorWithCode) Error

func (e *ErrorWithCode) Error() string

Jump to

Keyboard shortcuts

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