ErrorCode enum
PowerTip error codes
Use this class wisely to better understand what issues are occurring when using the exposed API.
Values
- none → const ErrorCode
-
No error.
- pending → const ErrorCode
-
An operation is still being carried out.
- notSupported → const ErrorCode
-
Operation not supported.
- downloadFailed → const ErrorCode
-
Download has failed.
- downloadedButSaveFailed → const ErrorCode
-
Download successfully, but couldn't save the file to disk.
- socketFailure → const ErrorCode
-
A socket-related issue.
- instanceAlreadyInUse → const ErrorCode
-
An existing instance is already being used.
- rejected → const ErrorCode
-
Operation rejected.
- terminatedByUser → const ErrorCode
-
Connection terminated by a user.
- userNotFound → const ErrorCode
-
Could not find the user.
- handshakeError → const ErrorCode
-
A handshake error has occurred.
- timedout → const ErrorCode
-
Operation took too long.
Properties
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