HybridException class

Represents a native exception propagated from Kotlin, Swift, or C++.

Implemented types
Implementers

Constructors

HybridException({required String name, required String message, String? code, String? stackTrace})
const

Properties

code → String?
An optional machine-readable error code (e.g. 'CAMERA_NOT_FOUND').
final
hashCode → int
The hash code for this object.
no setterinherited
message → String
The human-readable error message.
final
name → String
The type or name of the exception (e.g. 'java.lang.RuntimeException').
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
stackTrace → String?
The native stack trace if available.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
override

Operators

operator ==(Object other) → bool
The equality operator.
inherited