|
PineForge HPO 1.11.0
Native hyperparameter optimization for PineForge strategies
|
Stable machine-readable failure metadata shared by the standard exception families. More...
#include <pineforge/hpo/error.hpp>
Inheritance diagram for pineforge::hpo::HpoError:Public Member Functions | |
| HpoError (std::string code, ErrorArguments args={}, FailureOrigin origin=FailureOrigin::Hpo) | |
| Constructs metadata; HPO codes and argument vocabularies are defined by the catalog. | |
| virtual | ~HpoError ()=default |
| virtual const char * | what () const noexcept=0 |
| Returns the unchanged legacy English diagnostic. | |
| const std::string & | code () const noexcept |
| Returns the stable failure code, never inferred from diagnostic text. | |
| const ErrorArguments & | args () const noexcept |
| Returns typed, catalog-declared scalar arguments. | |
| FailureOrigin | origin () const noexcept |
| Returns the component which owns the code. | |
Stable machine-readable failure metadata shared by the standard exception families.
Catch HpoError for metadata, or the original standard family for legacy compatibility.
|
inline |
|
virtualdefault |
|
inlinenoexcept |
|
inlinenoexcept |
Returns the stable failure code, never inferred from diagnostic text.
Definition at line 57 of file error.hpp.
Referenced by pineforge_hpo.dsr.DsrError::__reduce__(), pineforge_hpo.holdout.HoldoutError::__reduce__(), pineforge_hpo.neighbourhood.NeighbourhoodError::__reduce__(), pineforge_hpo.pareto.ParetoError::__reduce__(), pineforge_hpo.walkforward.WalkforwardError::__reduce__(), pineforge_hpo.dsr.DsrError::document(), pineforge_hpo.holdout.HoldoutError::document(), pineforge_hpo.neighbourhood.NeighbourhoodError::document(), pineforge_hpo.pareto.ParetoError::document(), pineforge_hpo.pbo.PboError::document(), and pineforge_hpo.walkforward.WalkforwardError::document().
|
inlinenoexcept |
|
pure virtualnoexcept |
Returns the unchanged legacy English diagnostic.
Implemented in pineforge::hpo::TypedHpoError< Base >.