Celeritas 0.7.0-dev.328+develop.a407567
Loading...
Searching...
No Matches
Public Member Functions | List of all members
celeritas::DebugError Class Reference

Error thrown by Celeritas assertions and debug failures. More...

#include <Assert.hh>

Inheritance diagram for celeritas::DebugError:
Inheritance graph
[legend]

Public Member Functions

 DebugError (DebugErrorDetails &&)
 Construct a debug exception from detailed attributes.
 
 DebugError (DebugError const &)=default
 
DebugErroroperator= (DebugError const &)=default
 
 DebugError (DebugError &&)=default
 
DebugErroroperator= (DebugError &&)=default
 
DebugErrorDetails constdetails () const
 Access the debug data.
 

Detailed Description

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.


The documentation for this class was generated from the following files: