|
PineForge HPO 1.11.0
Native hyperparameter optimization for PineForge strategies
|
Parse error raised while compiling a metric expression. More...
#include <pineforge/hpo/objective.hpp>
Inheritance diagram for pineforge::hpo::ExpressionError:Public Member Functions | |
| ExpressionError (std::string message, std::size_t offset) | |
Constructs an error whose what() text includes the byte offset. | |
| std::size_t | offset () const noexcept |
| Returns the zero-based byte offset in the original expression. | |
Public Member Functions inherited from pineforge::hpo::TypedHpoError< Base > | |
| TypedHpoError (std::string code, ErrorArguments args, const std::string &message, FailureOrigin origin=FailureOrigin::Hpo) | |
| Constructs a coded exception with unchanged English text and optional provenance. | |
| const char * | what () const noexcept override |
| Returns the original standard exception diagnostic. | |
Public Member Functions inherited from pineforge::hpo::HpoError | |
| 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 |
| 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. | |
Parse error raised while compiling a metric expression.
Definition at line 64 of file objective.hpp.
| pineforge::hpo::ExpressionError::ExpressionError | ( | std::string | message, |
| std::size_t | offset | ||
| ) |
Constructs an error whose what() text includes the byte offset.
|
inlinenoexcept |
Returns the zero-based byte offset in the original expression.
Definition at line 70 of file objective.hpp.