RemoteServerException class final

Error returned by a remote RPC or HTTP failure.

Implemented types

Constructors

RemoteServerException(String message, {required int status, String? remoteType})
Creates a classified remote failure.
const

Properties

hashCode → int
The hash code for this object.
no setterinherited
message → String
Server-supplied or locally classified error message.
final
remoteType → String?
Optional remote exception type name.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
status → int
HTTP response status.
final

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.
inherited