|
Celeritas 0.7.0-dev.328+develop.a407567
|
Error thrown by Celeritas assertions and debug failures. More...
#include <Assert.hh>

Public Member Functions | |
| DebugError (DebugErrorDetails &&) | |
| Construct a debug exception from detailed attributes. | |
| DebugError (DebugError const &)=default | |
| DebugError & | operator= (DebugError const &)=default |
| DebugError (DebugError &&)=default | |
| DebugError & | operator= (DebugError &&)=default |
| DebugErrorDetails const & | details () const |
| Access the debug data. | |
Error thrown by Celeritas assertions and debug failures.
This class contains additional user-accessible context for the source of the error, the failing condition, etc., allowing detailed exception output or forwarding the exception details through other interfaces such as G4Exception. Since a DebugError indicates a programming bug, it inherits from std::logic_error.