MessageException class
用于异常详细信息丢失了只拥有message字符串的情况,
具体就是web端worker异步中的异常无法抛到主线程,所以只保留字符串,
但往外抛抛时希望抛的是Exception而不是String以便一些判断处理,
- Implemented types
Constructors
- MessageException.new(String message)
Properties
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