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

rlmesh::EnvironmentException

classExperimental#include <rlmesh.hpp>[source]

EnvironmentException: the env reported a failure. Thrown from an env callback, it fails the request and ends the session (code INTERNAL). An authored one's what() is [INTERNAL] message.

class EnvironmentException : public RLMeshException

EnvironmentException

constructor[source]
explicit EnvironmentException(std::string message)

EnvironmentException: the env reported a failure. Thrown from an env callback, it fails the request and ends the session (code INTERNAL). An authored one’s what() is [INTERNAL] message.

EnvironmentException

constructor[source]
EnvironmentException(
    std::string message,
    ErrorCode code,
    bool is_recoverable,
    detail::FromLibrary
)

EnvironmentException: the env reported a failure. Thrown from an env callback, it fails the request and ends the session (code INTERNAL). An authored one’s what() is [INTERNAL] message.

code

method[source]
ErrorCode code() const

is_recoverable

method[source]
bool is_recoverable() const