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

rlmesh::ErrorCode

enumPreviewuse rlmesh::ErrorCode;[source]

Classifies an EnvironmentError reported by an environment.

enum ErrorCode

The text form (ErrorCode::as_str, Display) is the wire code of the EnvironmentException.

Unspecified

variant[source]
Unspecified

No specific code was provided.

Timeout

variant[source]
Timeout

The operation exceeded its deadline.

InvalidAction

variant[source]
InvalidAction

The submitted action was invalid for the action space.

NotReady

variant[source]
NotReady

The environment is not ready to serve the request yet.

Busy

variant[source]
Busy

The environment is busy with another request.

Unsupported

variant[source]
Unsupported

A well-formed request for a feature the peer does not support.

Internal

variant[source]
Internal

An internal environment error; every authored env failure carries it.

Crashed

variant[source]
Crashed

The environment process crashed.

Cancelled

variant[source]
Cancelled

The operation was cancelled.

Closed

variant[source]
Closed

The environment (or session) is closed.

as_str

method[source]
fn as_str(self) -> &'static str

The code’s wire spelling ("INVALID_ACTION").

Trait implementations

  • impl Debug for ErrorCode
  • impl Clone for ErrorCode
  • impl Copy for ErrorCode
  • impl StructuralPartialEq for ErrorCode
  • impl PartialEq for ErrorCode
  • impl Eq for ErrorCode
  • impl Hash for ErrorCode
  • impl Display for ErrorCode