Skip to main content

Handling errors

RPCMessage

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