setError method
Injects an error state into the coupler with optional stackTrace.
error: The error or exception object to transition into.stackTrace: Optional stack trace associated witherror.
Ensures:
- Transitions the coupler to an error state and propagates dirty invalidation downstream.
- Returns the previously attached inbound node.
Implementation
Bloom<T> setError(Object error, [StackTrace? stackTrace]) => _proxy._setError(error, stackTrace);