PLaSK library

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

This is thrown if name is bad id. More...

`#include <plask/exceptions.hpp>`

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

## Public Member Functions
| BadId (const std::string &where, const char *str_to_check)
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.

## Static Public Member Functions
static void | throwIfBad (const std::string &where, const char *str_to_check)
static void | throwIfBad (const std::string &where, const std::string &str_to_check)

## Detailed Description

This is thrown if name is bad id.

Definition at line 152 of file exceptions.hpp.

## Constructor & Destructor Documentation

## ◆ BadId()

plask::BadId::BadId | ( | const std::string & | where,
|  | const char * | str_to_check
| ) |  |
| inline

Definition at line 154 of file exceptions.hpp.

## Member Function Documentation

## ◆ throwIfBad() [1/2]

static void plask::BadId::throwIfBad | ( | const std::string & | where,
|  | const char * | str_to_check
| ) |  |
| inline static

Definition at line 157 of file exceptions.hpp.

## ◆ throwIfBad() [2/2]

static void plask::BadId::throwIfBad | ( | const std::string & | where,
|  | const std::string & | str_to_check
| ) |  |
| inline static

Definition at line 162 of file exceptions.hpp.

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

- plask/exceptions.hpp