Nix (Dev) 3.5.10
dev - 3.5.10 - 1af9301
Loading...
Searching...
No Matches
iv::exception::Exception Class Reference

#include <exception.hpp>

Inheritance diagram for iv::exception::Exception:
[legend]
Collaboration diagram for iv::exception::Exception:
[legend]

Public Member Functions

 Exception (const std::string_view msg)
 
 Exception (const char *prefix, std::string_view msg)
 
 Exception (std::string_view msg, const std::exception &e)
 
 ~Exception () noexcept override=default
 
virtual int64_t errorCode () const noexcept
 
virtual eExceptionType exceptionType () const noexcept
 
const char * what () const noexcept override
 

Protected Attributes

std::string m_msg
 

Constructor & Destructor Documentation

◆ Exception() [1/3]

iv::exception::Exception::Exception ( const std::string_view msg)
inlineexplicit

◆ Exception() [2/3]

iv::exception::Exception::Exception ( const char * prefix,
std::string_view msg )
inline

◆ Exception() [3/3]

iv::exception::Exception::Exception ( std::string_view msg,
const std::exception & e )
inline

◆ ~Exception()

iv::exception::Exception::~Exception ( )
overridedefaultnoexcept

Member Function Documentation

◆ errorCode()

virtual int64_t iv::exception::Exception::errorCode ( ) const
inlinenodiscardvirtualnoexcept

Reimplemented in iv::exception::SystemError.

◆ exceptionType()

◆ what()

const char * iv::exception::Exception::what ( ) const
inlinenodiscardoverridenoexcept

Member Data Documentation

◆ m_msg

std::string iv::exception::Exception::m_msg
protected

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