Stay organized with collections
Save and categorize content based on your preferences.
blockly > UnattachedFieldError
UnattachedFieldError class
Represents an error where the field is trying to access its block or information about its block before it has actually been attached to said block.
Signature:
export declare class UnattachedFieldError extends Error
Extends: Error
The constructor for this class is marked as internal. Third-party code should not call the constructor directly or create subclasses that extend the UnattachedFieldError
class.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-09-18 UTC.
[null,null,["Last updated 2024-09-18 UTC."],[],["The `UnattachedFieldError` class represents an error that occurs when a field attempts to access its block or block information prematurely, before being attached. It extends the standard `Error` class. Direct instantiation or subclassing of `UnattachedFieldError` by external code is prohibited, as its constructor is internal. The error signifies an issue with the field's attachment state within the Blockly environment.\n"],null,[]]