PLaSK library

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

This exception is thrown when value specified by the user is bad. More...

`#include <plask/exceptions.hpp>`

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

## Public Member Functions
template<typename... Params>
| BadInput (const std::string &where, const std::string &msg, Params... params)
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

This exception is thrown when value specified by the user is bad.

Definition at line 107 of file exceptions.hpp.

## Constructor & Destructor Documentation

## ◆ BadInput()

template<typename... Params>

plask::BadInput::BadInput | ( | const std::string & | where,
|  | const std::string & | msg,
|  | Params... | params
| ) |  |
| inline

Parameters

  where | name of class/function/operation doing the computations
  msg | error message (format)
  params | formatting parmeters for msg

Definition at line 115 of file exceptions.hpp.

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

- plask/exceptions.hpp