PagifyErrorMapper class
error mapper which extract the api Exception message
Constructors
- PagifyErrorMapper.new({PagifyApiRequestException errorWhenDio(DioException e)?, PagifyApiRequestException errorWhenHttp(HttpException e)?})
- the constructor which accepts two Function
Properties
- errorWhenDio ↔ PagifyApiRequestException Function(DioException e)?
-
Dio
Package error mapper which extract theDioException
messagegetter/setter pair - errorWhenHttp ↔ PagifyApiRequestException Function(HttpException e)?
-
Http
Package error mapper which extract the HttpException messagegetter/setter pair - hashCode → int
-
The hash code for this object.
no setterinherited
- 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.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited