er

package module
v0.0.0-...-83b88d4 Latest Latest
Warning

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

Go to latest
Published: Oct 17, 2021 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Code

type Code uint32
const (
	COpenFile Code = 1 + iota
)
const CodeGap Code = 1 << 16

type Er

type Er = *er

func From

func From(code Code, err error) Er

func New

func New(code Code, text string) Er

func Newf

func Newf(code Code, format string, v ...interface{}) Er

func Newv

func Newv(code Code, v ...interface{}) Er

func (Er) Code

func (e Er) Code() Code

func (Er) Error

func (e Er) Error() string

func (Er) Up

func (e Er) Up(code Code, text string) Er

func (Er) Upf

func (e Er) Upf(code Code, format string, v ...interface{}) Er

func (Er) Upv

func (e Er) Upv(code Code, v ...interface{}) Er

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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