ErrorCause enum Null safety
Indicates the cause of an NsdError.
Constants
- alreadyActive → const ErrorCause
-
This error occurs on Android (seen on API 30) if too many resolve operations are requested simultanously. It should be prevented by the semaphore on the native side.
const ErrorCause(2)
- illegalArgument → const ErrorCause
-
Indicates missing or invalid service name, type, host, port etc; in most cases this may be corrected by the client by changing these arguments.
const ErrorCause(0)
- internalError → const ErrorCause
-
An error in platform or native code that cannot be adressed by the client.
const ErrorCause(3)
- maxLimit → const ErrorCause
-
Indicates too many "outstanding requests" - on Android (30) this seems to be 10 operations (running discoveries and active registrations combined).
const ErrorCause(1)
-
values
→ const List<
ErrorCause> -
A constant List of the values in this enum, in order of their declaration.
const List<
ErrorCause>
Properties
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed. [...]
inherited
-
toString(
) → String -
A string representation of this object. [...]
override
Operators
-
operator ==(
Object other) → bool -
The equality operator. [...]
inherited