BaseThrowHandler class abstract

基础异常处理

Inheritance

Constructors

BaseThrowHandler()

Properties

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

Methods

dealError(String? errorCode, String? msg, Exception ex) → void
全局异常处理
handleError(Exception ex, {dynamic onFail(String?, String?, Exception)?}) → void
统一异常处理
override
handleStatusCode(int? code, {dynamic onFail(String?, String?, Exception)?}) → void
统一状态码处理
override
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