PLaSK library
Loading...
Searching...
No Matches
plask::ComputationError Struct Reference

This exception should be thrown by solvers in case of error in computations. More...

#include <plask/exceptions.hpp>

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

Public Member Functions

template<typename... Params>
 ComputationError (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 should be thrown by solvers in case of error in computations.

Definition at line 137 of file exceptions.hpp.

Constructor & Destructor Documentation

◆ ComputationError()

template<typename... Params>
plask::ComputationError::ComputationError ( const std::string &  where,
const std::string &  msg,
Params...  params 
)
inline
Parameters
wherename of class/function/operation doing the computations
msgerror message
paramsformatting parmeters for msg

Definition at line 145 of file exceptions.hpp.


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