exception

package module
v0.0.0-...-9a27334 Latest Latest
Warning

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

Go to latest
Published: May 24, 2022 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const Assert ass = iota

Variables

This section is empty.

Functions

func Eat

func Eat(v ...interface{}) error

func IsNil

func IsNil(object interface{}) bool

func Throw

func Throw(v interface{})

func Try

func Try(fn func()) (c *catch)

Types

type Error

type Error interface {
	Time() time.Time
	File() string
	Line() int
	Error() string
	String() string
}

func New

func New(v interface{}) Error

func NewException

func NewException(time time.Time, file string, line int, err string) Error

func NewFormat

func NewFormat(format string, v ...interface{}) Error

func NewMany

func NewMany(v ...interface{}) Error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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