BloomNativeOperationFailedException class

Thrown when an internal native SDK operation or bridge promise rejected on the host platform.

Example:

try {
  await audioModule.playAudio('track.mp3');
} on BloomNativeOperationFailedException catch (e) {
  print('Native call failed: ${e.message}');
}
Inheritance

Constructors

BloomNativeOperationFailedException({required String message, dynamic details, StackTrace? stackTrace})
Creates a BloomNativeOperationFailedException with an error message, optional details, and stackTrace.

Properties

code → String
Machine-readable error code (e.g. 'PERMISSION_DENIED', 'HARDWARE_UNAVAILABLE').
finalinherited
details → dynamic
Optional platform-specific error payload or metadata dictionary.
finalinherited
hashCode → int
The hash code for this object.
no setterinherited
message → String
Human-readable error description.
finalinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
stackTrace → StackTrace?
Original stack trace from the host platform or Dart runtime.
finalinherited

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