RSIMError class
统一的错误模型。
Constructors
- RSIMError({required RSIMErrorSource source, required String operation, int? nativeCode, RSIMBridgeErrorCode? bridgeCode, String? message, Object? cause, StackTrace? stackTrace})
-
const
- RSIMError.native(int code, String operation)
-
const
Properties
- bridgeCode → RSIMBridgeErrorCode?
-
final
- cause → Object?
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- message → String?
-
final
- nativeCode → int?
-
final
- operation → String
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- source → RSIMErrorSource
-
final
- stackTrace → StackTrace?
-
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