Error typedef

Error = dynamic Function(ErrorRes errorRes)

请求失败统一回调

Implementation

typedef Error = Function(ErrorRes errorRes);