Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetStackTrace ¶
func GetStackTrace() []string
GetStackTrace retrieves the full stack (minus any runtime related functions) from where the Error was instantiated
Types ¶
type Tracer ¶
type Tracer interface { // Trace returns the long format stack trace from where the error was instantiated Trace() []string }
Tracer provides a stack trace
type TracerError ¶
TracerError is an amalgamation of the Tracer and error interfaces
func New ¶
func New(format string, args ...interface{}) TracerError
New instantiates a TracerError with a stack trace
Click to show internal directories.
Click to hide internal directories.