Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CapturePanic ¶
CapturePanic will capture a panic, create a merry.Error and set exception to the error. The error has message prepended to the value originall passed to `panic`.
Use it like this:
defer errorx.CapturePanic(&err, "panic while doing a thing")
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.