blockly > icons > exceptions > DuplicateIconType

icons.exceptions.DuplicateIconType class

Thrown when you add more than one icon of the same type to a block.

Signature:

export declare class DuplicateIconType extends Error 

Extends: Error

Remarks

The constructor for this class is marked as internal. Third-party code should not call the constructor directly or create subclasses that extend the DuplicateIconType class.

Properties

Property Modifiers Type Description
icon IIcon