Some macros to help with dynamic error handling/logging.
The goal of this crate is to unify all error types without compromising type safety.
The main features of this crate are the
dynmatch! macros. when used alongside the return type
DynResult<T>, they allows you to return multiple error types from a function then easily match for them during your error handling. Using dynerr, theres no need to ever wrap errors.
Shortcut for .unwrap_or_else(|e| logged_panic!(e)) for DynResult.
deletes the supplied log file.
A macro for returning custom errors as DynError.
Performs a dynamic match operation on multiple error types.
Appends [event] to file.
Appends [event] to file then panics.
deletes the supplied file
Appends [event] to [log_file].
type alias for an error returned by
An alias for result that uses DynError