rlmesh::ModelException
ModelException: the model reported a failure. Throw ModelException(msg, true) from predict to fail one request as recoverable (code INTERNAL); its what() is [INTERNAL] msg.
class ModelException : public RLMeshExceptionConstructors
Methods
ModelException
constructor[source]explicit ModelException(
std::string message,
bool is_recoverable = false
)ModelException: the model reported a failure. Throw ModelException(msg, true) from predict to fail one request as recoverable (code INTERNAL);
its what() is
[INTERNAL] msg.
ModelException
constructor[source]ModelException(
std::string message,
ModelErrorCode code,
bool is_recoverable,
detail::FromLibrary
)ModelException: the model reported a failure. Throw ModelException(msg, true) from predict to fail one request as recoverable (code INTERNAL);
its what() is
[INTERNAL] msg.
code
method[source]ModelErrorCode code() constis_recoverable
method[source]bool is_recoverable() const