exception

package
v0.11.2770-beta Latest Latest
Warning

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

Go to latest
Published: Oct 4, 2015 License: MIT Imports: 3 Imported by: 6

Documentation

Index

Constants

This section is empty.

Variables

View Source
var DEBUG bool

injection

Functions

func CatchException

func CatchException(e interface{}) bool

func ErrorOf

func ErrorOf(e interface{}) (err error, ie bool)

Types

type Exception

type Exception struct {
	// contains filtered or unexported fields
}

func New

func New(code int, msg string) *Exception

func NewW

func NewW(msg string) *Exception

func (*Exception) Apply

func (e *Exception) Apply(appendage interface{}) *Exception

func (*Exception) Code

func (e *Exception) Code() int

func (*Exception) Error

func (e *Exception) Error() string

func (*Exception) Warning

func (e *Exception) Warning() bool

Jump to

Keyboard shortcuts

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