wiRedPanda
Logic Circuit Simulator
Loading...
Searching...
No Matches
JsonRpcError Namespace Reference

Variables

constexpr int ConnectionFailed = -32002
 Connect/disconnect or port-mismatch failure.
constexpr int ElementNotFound = -32001
 Referenced element id does not exist in the scene.
constexpr int FileError = -32003
 File save/load/path error.
constexpr int IcError = -32006
 IC create / instantiate / embed / extract failure.
constexpr int InternalError = -32603
 Internal JSON-RPC error (last-resort).
constexpr int InvalidParams = -32602
 Invalid method parameters (missing required, wrong type, etc.).
constexpr int InvalidRequest = -32600
 The JSON sent is not a valid Request object.
constexpr int MethodNotFound = -32601
 The requested method does not exist or is unavailable.
constexpr int OperationFailed = -32008
 Generic Qt API / handler operation failure (catch-all for tryCommand).
constexpr int ParseError = -32700
 Invalid JSON received by the server.
constexpr int PortNotFound = -32007
 Port lookup by index or label did not match.
constexpr int SceneNotAvailable = -32000
 No active circuit scene to operate on.
constexpr int SimulationError = -32004
 Simulation control / waveform failure.
constexpr int ValidationError = -32005
 Semantic validation failure (e.g. port index out of range, enum value not allowed).

Variable Documentation

◆ ConnectionFailed

int JsonRpcError::ConnectionFailed = -32002
constexpr

Connect/disconnect or port-mismatch failure.

Definition at line 27 of file JsonRpcError.h.

◆ ElementNotFound

int JsonRpcError::ElementNotFound = -32001
constexpr

Referenced element id does not exist in the scene.

Definition at line 26 of file JsonRpcError.h.

◆ FileError

int JsonRpcError::FileError = -32003
constexpr

File save/load/path error.

Definition at line 28 of file JsonRpcError.h.

◆ IcError

int JsonRpcError::IcError = -32006
constexpr

IC create / instantiate / embed / extract failure.

Definition at line 31 of file JsonRpcError.h.

◆ InternalError

int JsonRpcError::InternalError = -32603
constexpr

Internal JSON-RPC error (last-resort).

Definition at line 22 of file JsonRpcError.h.

Referenced by BaseHandler::handleCommand().

◆ InvalidParams

int JsonRpcError::InvalidParams = -32602
constexpr

Invalid method parameters (missing required, wrong type, etc.).

Definition at line 21 of file JsonRpcError.h.

◆ InvalidRequest

int JsonRpcError::InvalidRequest = -32600
constexpr

The JSON sent is not a valid Request object.

Definition at line 19 of file JsonRpcError.h.

◆ MethodNotFound

◆ OperationFailed

int JsonRpcError::OperationFailed = -32008
constexpr

Generic Qt API / handler operation failure (catch-all for tryCommand).

Definition at line 33 of file JsonRpcError.h.

Referenced by BaseHandler::tryCommand().

◆ ParseError

int JsonRpcError::ParseError = -32700
constexpr

Invalid JSON received by the server.

Definition at line 18 of file JsonRpcError.h.

◆ PortNotFound

int JsonRpcError::PortNotFound = -32007
constexpr

Port lookup by index or label did not match.

Definition at line 32 of file JsonRpcError.h.

◆ SceneNotAvailable

int JsonRpcError::SceneNotAvailable = -32000
constexpr

No active circuit scene to operate on.

Definition at line 25 of file JsonRpcError.h.

◆ SimulationError

int JsonRpcError::SimulationError = -32004
constexpr

Simulation control / waveform failure.

Definition at line 29 of file JsonRpcError.h.

◆ ValidationError

int JsonRpcError::ValidationError = -32005
constexpr

Semantic validation failure (e.g. port index out of range, enum value not allowed).

Definition at line 30 of file JsonRpcError.h.