Class RDCoreComponentErrors
- Namespace
- RDCore.SDK.Platform.Components
- Assembly
- RDCore.SDK.dll
The JSON-RPC error codes the environment host answers a component request with, when it refuses the request rather than running it.
public static class RDCoreComponentErrors
- Inheritance
-
RDCoreComponentErrors
- Inherited Members
Remarks
They lie outside the ranges JSON-RPC and LSP reserve (-32768 to -32000, and -32899 to -32800). A failure of the program a
request runs is a run-time error in its answer, never one of these.
Part of the component protocol (RDCoreComponentProtocol), outside the SDK's compatibility promise.
Fields
HostBusy
A program is running on the host, in the shell's session or in a run session: one runs at a time.
public const int HostBusy = -31003
Field Value
ProjectNotLoaded
The project a run session is opened for is not one the host has loaded.
public const int ProjectNotLoaded = -31002
Field Value
UnknownSession
The run session a request names is closed, or was never opened: a project reload closes every run session.
public const int UnknownSession = -31001