openMSX
Public Member Functions | List of all members
openmsx::FatalError Class Reference

#include <MSXException.hh>

Public Member Functions

 FatalError (std::string message_)
 
template<typename T , typename... Args>
requires (!std::same_as<FatalError, std::remove_cvref_t<T>>)
 FatalError (T &&t, Args &&... args)
 
const std::string & getMessage () const &
 
std::string getMessage () &&
 

Detailed Description

Definition at line 33 of file MSXException.hh.

Constructor & Destructor Documentation

◆ FatalError() [1/2]

openmsx::FatalError::FatalError ( std::string  message_)
inlineexplicit

Definition at line 36 of file MSXException.hh.

◆ FatalError() [2/2]

template<typename T , typename... Args>
requires (!std::same_as<FatalError, std::remove_cvref_t<T>>)
openmsx::FatalError::FatalError ( T &&  t,
Args &&...  args 
)
inlineexplicit

Definition at line 41 of file MSXException.hh.

Member Function Documentation

◆ getMessage() [1/2]

std::string openmsx::FatalError::getMessage ( ) &&
inline

Definition at line 47 of file MSXException.hh.

◆ getMessage() [2/2]

const std::string & openmsx::FatalError::getMessage ( ) const &
inline

Definition at line 46 of file MSXException.hh.


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