Celeritas 0.7.0-dev.313+develop.1857205b
Loading...
Searching...
No Matches
Public Member Functions | List of all members
celeritas::RuntimeError Class Reference

Error thrown by working code from unexpected runtime conditions. More...

#include <Assert.hh>

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

Public Member Functions

 RuntimeError (RuntimeErrorDetails &&)
 Construct a runtime error from detailed descriptions.
 
 RuntimeError (RuntimeError const &)=default
 
RuntimeErroroperator= (RuntimeError const &)=default
 
 RuntimeError (RuntimeError &&)=default
 
RuntimeErroroperator= (RuntimeError &&)=default
 
RuntimeErrorDetails constdetails () const
 Access detailed information.
 

Static Public Attributes

static char const validate_err_str [] = "runtime"
 
static char const not_config_err_str [] = "configuration"
 
static char const not_impl_err_str [] = "implementation"
 

Detailed Description

Error thrown by working code from unexpected runtime conditions.

The runtime error contains additional user-accessible context for the source of the error, the failing condition, etc. Since it indicates an error with user input or other system conditions, it inherits from std::runtime_error.

Member Data Documentation

◆ not_config_err_str

char const celeritas::RuntimeError::not_config_err_str = "configuration"
static

String constants for "which" error message

◆ not_impl_err_str

char const celeritas::RuntimeError::not_impl_err_str = "implementation"
static

String constants for "which" error message

◆ validate_err_str

char const celeritas::RuntimeError::validate_err_str = "runtime"
static

String constants for "which" error message


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