Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ErrorParser ¶
type ErrorParser func(err error, code int, skipTrace int) *StandardException
type HttpException ¶
type StandardException ¶
type StandardException struct {
// contains filtered or unexported fields
}
func GoErrorParser ¶
func GoErrorParser(err error, code int, skipTrace int) *StandardException
func NewException ¶
func NewException(message string, code int) *StandardException
func NewExceptionFromError ¶
func NewExceptionFromError(err error, code int) *StandardException
func (*StandardException) Code ¶
func (e *StandardException) Code() int
func (*StandardException) Error ¶
func (e *StandardException) Error() string
func (*StandardException) File ¶
func (e *StandardException) File() string
func (*StandardException) GetError ¶
func (e *StandardException) GetError() error
func (*StandardException) Line ¶
func (e *StandardException) Line() int
func (*StandardException) Traces ¶
func (e *StandardException) Traces() []Trace
type StandardHttpException ¶
type StandardHttpException struct { *StandardException // contains filtered or unexported fields }
func NewHttpException ¶
func (*StandardHttpException) Headers ¶
func (s *StandardHttpException) Headers() map[string]string
func (*StandardHttpException) StatusCode ¶
func (s *StandardHttpException) StatusCode() int
type StandardTrace ¶
type StandardTrace struct {
// contains filtered or unexported fields
}
func (*StandardTrace) File ¶
func (t *StandardTrace) File() string
func (*StandardTrace) Line ¶
func (t *StandardTrace) Line() int
func (*StandardTrace) Name ¶
func (t *StandardTrace) Name() string
type Trace ¶
func GoErrorTraceParser ¶
type TraceParser ¶
Click to show internal directories.
Click to hide internal directories.