Documentation ¶
Index ¶
Constants ¶
View Source
const MaxStackDepth = 50
MaxStackDepth since we cannot have unlimitted stack traces.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Error ¶
type Error struct {
// contains filtered or unexported fields
}
Error is a customized error that will get the stack.
func New ¶
func New(e interface{}) *Error
New creates a new error with the error and a stack at the time of the call.
func (Error) GetStackTrace ¶
GetStackTrace will turn the stored stack into hunman readable form. Each item in the returned slice represent one stack frame.
type HandlerStatusError ¶
HandlerStatusError ..
func (HandlerStatusError) Error ¶
func (hse HandlerStatusError) Error() string
Error satisfy the error interface.
Click to show internal directories.
Click to hide internal directories.