Blockly.serialization.exceptions. BadConnectionCheck
Represents an error where deserialization tried to connect two connections that were not compatible.
Constructor
BadConnectionCheck
new BadConnectionCheck(reason, childConnection, childBlock, childState)
Parameter |
|
---|---|
reason |
The reason the connections were not compatible. |
childConnection |
The name of the incompatible child connection. E.g. 'output' or 'previous'. |
childBlock |
The child block that could not connect to its parent. Value must not be null. |
childState |
The state object representing the child block. Value must not be null. |
Properties
childBlock
non-null Blockly.Block
The block that could not connect to its parent.
childState
non-null Blockly.serialization.blocks
The state object representing the block that could not connect to its parent.