Documentation ¶
Index ¶
Constants ¶
View Source
const ( // 0 is OK. SUCCESS = iota INFO WARN // Group 1: Internal errors ERROR_START = 1000 + iota INTERNAL_ERROR NYI // Group 2: numeric DIVIVISION_BY_ZERO = 2000 + iota OUT_OF_RANGE )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Error ¶
func NewInternalError ¶
func NewPanicError ¶
func NewPanicError(v interface{}) *Error
Convert a runtime panic to internal error.
Click to show internal directories.
Click to hide internal directories.