Discover Packages
github.com/cdfmlr/simplecipher/v2
dontpanic
package
Version:
v2.0.1-alpha.2
Opens a new window with list of versions in this module.
Published: Jan 22, 2026
License: BSD-3-Clause
Opens a new window with license information.
Imports: 2
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
Package dontpanic provides utilities to recover from panics and convert them to error values.
func RecoverTo(err *error )
RecoverTo recovers from a panic and sets a ErrPanic to the given pointer.
if the panic value is an error, it will be wrapped,
caller can use errors.Is to check the underlying error.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.