HttpException class
- Implemented types
-
- Annotations
-
Constructors
-
HttpException(String message, {int? responseCode})
-
Constructor that takes an exception message and an optional response code
Properties
-
hashCode
→ int
-
The hash code for this object.
no setterinherited
-
message
→ String
-
The exception message
final
-
responseCode
→ int?
-
The exception code, used to return the response code from API (same as HTTP status code)
final
-
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
-
Override default toString method to return message.
override