blob: d6287dfae656d0f2f7e883643d5031285629503d [file] [log] [blame] [view] [edit]
# ModuleStateException class
*[<Null safety>](https://dart.dev/null-safety)*
<p>An <code>Exception</code> indicating that the Module is in an
invalid state. This exception should only be thrown when
the module is in a state which is cannot recover from and
will need to crash.</p>
## Constructors
[ModuleStateException](../package-fuchsia_modular_module/ModuleStateException/ModuleStateException.md) (String message)
The default constructor for this module.
## Properties
##### [hashCode](../package-fuchsia_modular_module/ModuleStateException/hashCode.md) &#8594; int
The hash code for this object. [...](../package-fuchsia_modular_module/ModuleStateException/hashCode.md)
_read-only, inherited_
##### [message](../package-fuchsia_modular_module/ModuleStateException/message.md) &#8594; String
A string indicating the what led to the exception. [...](../package-fuchsia_modular_module/ModuleStateException/message.md)
_final_
##### [runtimeType](../package-fuchsia_modular_module/ModuleStateException/runtimeType.md) &#8594; Type
A representation of the runtime type of the object.
_read-only, inherited_
## Methods
##### [noSuchMethod](../package-fuchsia_modular_module/ModuleStateException/noSuchMethod.md)(Invocation invocation) dynamic
Invoked when a non-existent method or property is accessed. [...](../package-fuchsia_modular_module/ModuleStateException/noSuchMethod.md)
_inherited_
##### [toString](../package-fuchsia_modular_module/ModuleStateException/toString.md)() String
A string representation of this object. [...](../package-fuchsia_modular_module/ModuleStateException/toString.md)
_override_
## Operators
##### [operator ==](../package-fuchsia_modular_module/ModuleStateException/operator_equals.md)(Object other) bool
The equality operator. [...](../package-fuchsia_modular_module/ModuleStateException/operator_equals.md)
_inherited_