This reference describes unreleased code on main; no release documents it yet.

rlmesh::ModelError

structPreviewuse rlmesh::ModelError;[source]

A failure reported by a model (ModelException).

struct ModelError

This is distinct from the transport/internal variants: it represents the model declining a request (e.g. an invalid observation), so the runtime can report and retry it appropriately.

code

field[source]
code: ModelErrorCode

Machine-readable classification of the failure.

message

field[source]
message: String

Human-readable description of why the model declined.

is_recoverable

field[source]
is_recoverable: bool

Whether the caller may retry the request.

Trait implementations

  • impl Debug for ModelError
  • impl Clone for ModelError
  • impl StructuralPartialEq for ModelError
  • impl PartialEq for ModelError
  • impl Eq for ModelError
  • impl Display for ModelError
  • impl Error for ModelError