PensilException class
Exception used when server returns error during apis call
Constructors
- PensilException(String message, [Response? response])
- Exception used when server returns error during apis call
Properties
- hashCode → int
-
The hash code for this object.
no setteroverride
-
jsonData
→ Map<
String, dynamic> ? -
final
- message → String
-
Error message
final
- response → Response?
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- statusCode → int?
-
HTTP status code
no setter
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.
override