LongPollingException class

HttpException is thrown when the long polling fails. This exception is thrown when the limit is invalid or the timeout is invalid.

Implemented types

Constructors

LongPollingException(String message, {int? code, ResponseParameters? parameters, StackTrace? stackTrace})
Constructs a new LongPollingException.

Properties

code int?
The error code
final
hashCode int
The hash code for this object.
no setterinherited
message String
The error message.
final
parameters ResponseParameters?
Response Parameters
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
stackTrace StackTrace
Stack trace of the exception.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
Returns a string representation of the exception.
override

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Properties

alreadyPolling LongPollingException
Returns already polling exception.
no setter
invalidLimit LongPollingException
Returns invalid limit exceptions.
no setter
invalidTimeout LongPollingException
Returns invalid timeout exception.
no setter
streamClosed LongPollingException
Returns stream closed exception.
no setter