Documentation
¶
Index ¶
Constants ¶
View Source
const ( NoError = "" ErrUnknown = "unknown-error" ErrIOTimeout = "io.timeout" ErrIOClosed = "io.closed" ErrIOEOF = "io.EOF" )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type TraceError ¶
type TraceError struct { Raise error File string Method string Line int // contains filtered or unexported fields }
func New ¶
func New(code, format string, args ...interface{}) *TraceError
func Raise ¶
func Raise(raise error, code, format string, args ...interface{}) *TraceError
func Wrap ¶
func Wrap(raise error) *TraceError
func (*TraceError) Code ¶
func (err *TraceError) Code() string
func (*TraceError) Error ¶
func (err *TraceError) Error() string
func (*TraceError) Tracing ¶
func (err *TraceError) Tracing() *TraceError
Click to show internal directories.
Click to hide internal directories.