struct DynErrorTyped
Declaration
template <int E, class Store>
struct DynErrorTyped : public DynError { /* full declaration omitted */ };
Description
The type-aware subclass of `DynError` for type-erasing an `Error` concept type through `DynConcept`. #[doc.hidden]
Declared at: sus/error/error.h:492
Inherits from: DynError
Templates
- int E
- Store
Method Overview
- public constexpr DynErrorTyped<E, Store>(Store && c)
- public std::string display() const noexcept
- public sus::Option<const DynError &> source() const noexcept
Inherited from DynError:
Methods
¶constexpr DynErrorTyped<E, Store>(Store&& c)
constexpr DynErrorTyped<E, Store>(Store&& c)
Declared at: sus/error/error.h:500
Parameters
- Store&& c
¶std::string display() const noexcept
std::string display() const noexcept
Description
Forwards to the [`Error`]($sus::error::Error) implementation of `E`.
Declared at: sus/error/error.h:493
¶sus::Option<const DynError&> source()
const noexcept
sus::Option<const DynError&> source()
const noexcept
Declared at: sus/error/error.h:496