Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PanicHandler ¶
PanicHandler creates an handler that intercepts panics
func PanicRecovery ¶
PanicRecovery returns a general use Panic Recovery function to capture panics, optionally log them, and return them, as errors. A pointer to the error to populate will be passed in via the err parameter.
usage: defer PanicRecovery(&err, true)()
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.