IMQRPCError interface
Failure descriptor for a remote call.
Produced by a service when a method throws, and also before dispatch when the method does not exist, is not exposed, or was called with the wrong number of arguments. A client additionally synthesizes one locally on call timeout.
Signature:
export interface IMQRPCError extends JsonObject
Extends: JsonObject
Remarks
A rejected client call rejects with this object as-is — it is not an Error instance, so err instanceof Error is false, err.stack describes the remote process rather than the caller's frames, and message is a plain property rather than an Error message.
Properties
|
Property |
Modifiers |
Type |
Description |
|---|---|---|---|
|
string |
The call's arguments serialized as a pretty-printed JSON string, not an array — parse it before use. | ||
|
string |
Machine-readable failure code. | ||
|
string |
Human-readable failure description. | ||
|
string |
Bare name of the method the call targeted, unqualified by service name. Empty string rather than absent when unknown. | ||
|
any |
(Optional) The error the service method threw, as a JSON string — not an object, despite the | ||
|
string |
Stack trace as a string, from the service process. Empty string rather than absent when unavailable. |
Read this page as plain markdown — no HTML, no navigation. For pasting into an LLM, or for an agent to fetch.