fiber
Loading...
Searching...
No Matches
fiber::Exception Class Reference

The base class for exceptions in fiber More...

#include <Exceptions.hpp>

Inheritance diagram for fiber::Exception:
fiber::AllocationFailure fiber::AssertionFailure fiber::AssertionFailureCritical fiber::AssertionFailureFull fiber::AssertionFailureO1

Public Member Functions

 Exception ()
 
 Exception (const char *what)
 
constexpr const char * type () const noexcept
 
const char * what () const noexcept final
 
virtual void print (fiber::OStream &stream) const
 

Protected Member Functions

 Exception (const char *type, const char *what)
 Constructor for classes that derive from Exception.
 

Detailed Description

The base class for exceptions in fiber

Constructor & Destructor Documentation

◆ Exception() [1/3]

fiber::Exception::Exception ( )

◆ Exception() [2/3]

fiber::Exception::Exception ( const char * what)
inlineexplicit

◆ Exception() [3/3]

fiber::Exception::Exception ( const char * type,
const char * what )
inlineprotected

Constructor for classes that derive from Exception.

Parameters
typeName for the type of exception
whatMessage of the exception

Member Function Documentation

◆ print()

◆ type()

const char * fiber::Exception::type ( ) const
inlineconstexprnoexcept

◆ what()

const char * fiber::Exception::what ( ) const
finalnoexcept

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