core-adapters 0.1.1
Third-party adapters for snicholls-core: nanobind helpers, nlohmann/json hooks, the snicholls_core Python package
Loading...
Searching...
No Matches
snicholls::python::traced_exception Class Reference

A snicholls::traced<E> error on its way to Python: snicholls_core.errors.TracedError. More...

#include <snicholls/core_adapters/nanobind/errors.hpp>

Inheritance diagram for snicholls::python::traced_exception:

Public Member Functions

 traced_exception (error_report report)
 Constructs it from a report.
 
const error_report & report () const noexcept
 The report.
 

Detailed Description

A snicholls::traced<E> error on its way to Python: snicholls_core.errors.TracedError.

Definition at line 98 of file errors.hpp.

Constructor & Destructor Documentation

◆ traced_exception()

snicholls::python::traced_exception::traced_exception ( error_report  report)
inlineexplicit

Constructs it from a report.

Parameters
reportthe error report (fields already masked).

Definition at line 102 of file errors.hpp.

Member Function Documentation

◆ report()

const error_report & snicholls::python::traced_exception::report ( ) const
inlinenoexcept

The report.

Returns
the report.

Definition at line 108 of file errors.hpp.


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