MessageException class

用于异常详细信息丢失了只拥有message字符串的情况,

具体就是web端worker异步中的异常无法抛到主线程,所以只保留字符串,

但往外抛抛时希望抛的是Exception而不是String以便一些判断处理,

Implemented types

Constructors

MessageException.new(String message)

Properties

hashCode int
The hash code for this object.
no setterinherited
message String
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

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