Errorf returns a new errors whose message is formatted by `fmt.Sprintf`. The returned error is annotated with a timestamp, a message and a stack trace.
New returns a new error annotated with a timestamp, a message and a stack trace.
StackTrace returns the earliest/deepest StackTrace attached to any of the errors in the chain of Causes. If the error does not implement Cause, the original error will be returned. If the error is nil, nil will be returned without further investigation.
WithTimestamp annotates the given error `err` with a timestamp. The returned error value implements interface Timestamper.
Wrap annotates the given error `err` with a timestamp, a message and a stack trace.
Frame represents a program counter inside a stack frame. For historical reasons if Frame is interpreted as a uintptr its value represents the program counter + 1.
File returns the full path to the file that contains the function for this Frame's pc.
Line returns the line number of source code of the function for this Frame's pc.
name returns the name of this function, if known.
PC returns the program counter for this frame; multiple frames may have the same PC value.