LeviLamina
Loading...
Searching...
No Matches
ll::Error Class Reference

Public Member Functions

Error & operator= (Error &&) noexcept=default
Error & operator= (Error const &) noexcept=delete
 Error (Error &&) noexcept=default
 Error (Error const &) noexcept=delete
LL_CONSTEXPR23 Error (std::unique_ptr< ErrorInfoBase > i) noexcept
LL_CONSTEXPR23 Error (::nonstd::unexpected_type<::ll::Error > i) noexcept
LL_CONSTEXPR23 operator bool () const noexcept
LL_CONSTEXPR23 operator Unexpected () noexcept
LLNDAPI std::string message () const noexcept
LLNDAPI std::string message (std::string_view locale) const noexcept
template<class T>
LL_CONSTEXPR23 bool isA () noexcept
template<class T>
LL_CONSTEXPR23 T & as () noexcept
LLAPI Error & join (Error) noexcept
Error & join (Unexpected err) noexcept
LLAPI Error const & log (io::Logger &, io::LogLevel=io::LogLevel::Error) const noexcept
LLAPI Error const & log (io::Logger &, std::string_view locale, io::LogLevel=io::LogLevel::Error) const noexcept
LLAPI Error const & log (CommandOutput &, CommandOutputMessageType=CommandOutputMessageType::Error) const noexcept
LLAPI Error const & log (CommandOutput &, std::string_view locale, CommandOutputMessageType=CommandOutputMessageType::Error) const noexcept
LLAPI Error const & log (brstd::function_ref< void(std::string_view msg)> out, std::string_view locale={}) const noexcept

The documentation for this class was generated from the following file: