allpix::InvalidModelError
Module: Exception classes
Notifies of an invalid model.
#include <exceptions.h>
Inherits from allpix::ModelError, allpix::RuntimeError, allpix::Exception, std::exception
Public Functions
Name | |
---|---|
InvalidModelError(const std::string & model_name) Construct an error for a model that is not found. |
Additional inherited members
Public Functions inherited from allpix::RuntimeError
Name | |
---|---|
RuntimeError(std::string what_arg) Creates exception with the given runtime problem. |
Protected Functions inherited from allpix::RuntimeError
Name | |
---|---|
RuntimeError() =default Internal constructor for exceptions setting the error message indirectly. |
Public Functions inherited from allpix::Exception
Name | |
---|---|
Exception(std::string what_arg) Creates exception with the specified problem. |
|
const char * | what() const override Return the error message. |
Protected Functions inherited from allpix::Exception
Name | |
---|---|
Exception() =default Internal constructor for exceptions setting the error message indirectly. |
Protected Attributes inherited from allpix::Exception
Name | |
---|---|
std::string | error_message_ |
Public Functions Documentation
function InvalidModelError
inline explicit InvalidModelError(
const std::string & model_name
)
Construct an error for a model that is not found.
Parameters:
- model_name Name of the requested model
Updated on 2024-12-13 at 08:31:37 +0000