ExtensionTypeNotRegisteredError<TExtension> class
Thrown when a component has no registered extension type facade.
This is a programming error - components must have a facade factory registered
before using queryExt methods or extension type access.
Use ComponentFacadeRegistry.registerFacadeFactory to register facades.
- Inheritance
-
- Object
- Error
- StateError
- EcsStateError
- ExtensionTypeNotRegisteredError
Constructors
- ExtensionTypeNotRegisteredError(ComponentId componentId)
Properties
- componentId → ComponentId
-
The component ID that has no registered extension type.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- message → String
-
finalinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- stackTrace → StackTrace?
-
The stack trace at the point where this error was first thrown.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited