Handling errors
RPCMessage
interface RPCMessage<T> {
code: number;
message: string;
data: T;
}
Code | Description |
---|---|
200 | The operation completed successfully. |
-32001 | The initialization of the Opencord plugin client failed. |
-32002 | The plugin is not running in the Opencord runtime. |
-32003 | An error occurred while the program was running. |
-32011 | The Opencord runtime version is incompatible with the plugin. |
-32012 | The Opencord plugin SDK version is incompatible with the Opencord runtime. |