Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var OofErrorInstance = &OofError{}
Functions ¶
func Fatal ¶ added in v1.2.2
func Fatal(err error)
Fatal will log a fatal error message and cause the process to exit if and only if the provided err is non-nil. A full strack trace will be included.
func Fatalf ¶ added in v1.2.2
Fatalf will log a fatal error message and cause the process to exit if and only if the provided err is non-nil. Additionally, a user specified message will be logged. A full strack trace will be included.
func GetTotalOofs ¶ added in v1.2.0
func GetTotalOofs() uint64
GetTotalOofs returns the total number of times oof.Trace has been called
func StripTrace ¶ added in v1.2.1
StripTrace strips the stack trace from an error
Types ¶
type OofError ¶
type OofError struct {
OrigError error
// contains filtered or unexported fields
}
func (*OofError) StripTrace ¶ added in v1.2.1
func (e *OofError) StripTrace()
StripTrace strips the stack trace from an error
Click to show internal directories.
Click to hide internal directories.