PLaSK library

Loading...
Searching...
No Matches
Public Member Functions | List of all members
plask::CriticalException Struct Reference

Exceptions of this class are thrownin cases of critical and very unexpected errors (possible plask bugs). More...

`#include <plask/exceptions.hpp>`

Inheritance diagram for plask::CriticalException:
[legend]
Collaboration diagram for plask::CriticalException:
[legend]

## Public Member Functions
| CriticalException (const std::string &msg)
template<typename... T>
| CriticalException (const std::string &msg, const T &... args)
Public Member Functions inherited from plask::Exception
| Exception (const std::string &msg)
template<typename... T>
| Exception (const std::string &msg, const T &... args)
| Format error message using format.

## Detailed Description

Exceptions of this class are thrownin cases of critical and very unexpected errors (possible plask bugs).

Definition at line 56 of file exceptions.hpp.

## Constructor & Destructor Documentation

## ◆ CriticalException() [1/2]

plask::CriticalException::CriticalException | ( | const std::string & | msg | ) |
| inline

Parameters

  msg | error message

Definition at line 59 of file exceptions.hpp.

## ◆ CriticalException() [2/2]

template<typename... T>

plask::CriticalException::CriticalException | ( | const std::string & | msg,
|  | const T &... | args
| ) |  |
| inline

Definition at line 62 of file exceptions.hpp.

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

- plask/exceptions.hpp