PLaSK library

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

Base class for all exceptions thrown by plask library. More...

`#include <plask/exceptions.hpp>`

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

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

## Detailed Description

Base class for all exceptions thrown by plask library.

Definition at line 37 of file exceptions.hpp.

## Constructor & Destructor Documentation

## ◆ Exception() [1/2]

plask::Exception::Exception | ( | const std::string & | msg | ) |

Parameters

  msg | error message

Definition at line 92 of file exceptions.cpp.

## ◆ Exception() [2/2]

template<typename... T>

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

Format error message using format.

Definition at line 46 of file exceptions.hpp.

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

- plask/exceptions.hpp
- plask/exceptions.cpp