Generic Failure
Failed to add event listener
Timeout while waiting for response
Function should only be called when globalThis is WorkerGlobalScope
Function should only be called when globalThis is Window
WxWindow.owner is called on a Window that doesn't have an owner (i.e. not an iframe or popup opened by another window)
When wxWindow cannot read globalThis.location.origin
Failed to parse URL, for example when opening a popup or parsing src of iframe
If the other end does not agree with the protocols used by this end
If the other end closed unexpectedly
If a message received has a protocol not registered on the bus
An error is caught at the bus level in the handler on the other end
If multiple connection of the same protocol are configured on the same bus
The data field in a request is invalid
Calling the other side with a bad function id
The handler did not return anything
The stub handler in a one-direction protocol is being called unexpectedly
Workex Error Codes