allpix::InvalidDetectorError
Module: Exception classes
Indicates an error with finding a detector by name.
#include <exceptions.h>
Inherits from allpix::RuntimeError, allpix::Exception, std::exception
Public Functions
| Name | |
|---|---|
| InvalidDetectorError(const std::string & name) Constructs an error with a detector 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 InvalidDetectorError
inline explicit InvalidDetectorError(
const std::string & name
)
Constructs an error with a detector that is not found.
Parameters:
- name Identifier for the detector that is not found
Updated on 2025-05-10 at 19:40:38 +0000