#include <ROOT/RConfig.hxx>#include <ROOT/RLogger.hxx>#include <cstddef>#include <memory>#include <new>#include <optional>#include <stdexcept>#include <string>#include <string_view>#include <utility>#include <vector>| Classes | |
| class | ROOT::RError | 
| Captures diagnostics related to a ROOT runtime error.  More... | |
| class | ROOT::RException | 
| Base class for all ROOT issued exceptions.  More... | |
| struct | ROOT::RError::RLocation | 
| class | ROOT::RResult< T > | 
| The class is used as a return type for operations that can fail; wraps a value of type T or an RError.  More... | |
| class | ROOT::RResult< void > | 
| RResult<void> has no data member and no Inspect() method but instead a Success() factory method.  More... | |
| class | ROOT::RResultBase | 
| Common handling of the error case for RResult<T> (T != void) and RResult<void>  More... | |
| Namespaces | |
| namespace | ROOT | 
| Macros | |
| #define | R__FAIL(msg) ROOT::RError(msg, {R__LOG_PRETTY_FUNCTION, __FILE__, __LINE__}) | 
| Short-hand to return an RResult<T> in an error state; the RError is implicitly converted into RResult<T> | |
| #define | R__FORWARD_ERROR(res) res.ForwardError(std::move(res), {R__LOG_PRETTY_FUNCTION, __FILE__, __LINE__}) | 
| Short-hand to return an RResult<T> in an error state (i.e. after checking) | |
| #define | R__FORWARD_RESULT(res) std::move(res.Forward({R__LOG_PRETTY_FUNCTION, __FILE__, __LINE__})) | 
| Short-hand to return an RResult<T> value from a subroutine to the calling stack frame. | |
Definition in file RError.hxx.
| #define R__FAIL | ( | msg | ) | ROOT::RError(msg, {R__LOG_PRETTY_FUNCTION, __FILE__, __LINE__}) | 
Short-hand to return an RResult<T> in an error state; the RError is implicitly converted into RResult<T>
Definition at line 300 of file RError.hxx.
| #define R__FORWARD_ERROR | ( | res | ) | res.ForwardError(std::move(res), {R__LOG_PRETTY_FUNCTION, __FILE__, __LINE__}) | 
Short-hand to return an RResult<T> in an error state (i.e. after checking)
Definition at line 304 of file RError.hxx.
| #define R__FORWARD_RESULT | ( | res | ) | std::move(res.Forward({R__LOG_PRETTY_FUNCTION, __FILE__, __LINE__})) | 
Short-hand to return an RResult<T> value from a subroutine to the calling stack frame.
Definition at line 302 of file RError.hxx.