Documentation ¶
Overview ¶
Package report contains error reporting functions.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Check ¶
Check will see if err contains an error; if it does, and if reporting is configured, it will report the error.
func Recover ¶
func Recover(fn func())
Recover will wrap the function in a manner that will capture panics. If error reporting isn't active, it will just panic. This default behaviour allows the stack trace to be capture in the system logs and the service management system (e.g. systemd) to automatically restart the server.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.