Type Alias biodivine_sketchbook::app::DynError

source ·
pub type DynError = Box<dyn Error + 'static>;
Expand description

A DynError is a “generic” heap-allocated trait object which implements std::error::Error.

You can convert most standard “typed” errors into DynError. If you want to throw a general “runtime error” with no particular type, you can also use AeonError (see AeonError::throw and AeonError::throw_with_source).

Aliased Type§

struct DynError(/* private fields */);