Intelligent Assistant
Chat with our virtual assistant to get answers promptly.
This topic describes only module-specific error codes. For details about universal error codes, see Universal Error Codes.
Error Message
Parameter error.
Description
This error code is reported when invalid or incorrect parameters are passed to the API.
Possible Causes
Refer to the specific documentation of the API that triggers this error.
Solution
Provide correct parameters as specified in the API documentation.
Error Message
The drawingContext is not bound to a canvas component.
Description
This error code is reported when the current drawing context is not bound to any Canvas component.
Possible Causes
The current drawing context is not bound to any Canvas component.
Solution
Bind the drawing context to a Canvas component and then call the getContext2DFromDrawingContext method.
Error Message
OffscreenCanvas object is detached.
Description
This error code is reported when OffscreenCanvas is detached from the tree.
Possible Causes
The current operation is not supported because OffscreenCanvas has been detached from the tree.
Solution
Attach the current node to the tree before performing the operation.