InvalidCommandChannelException class

Exception thrown when an EntertainmentStreamCommand is added to a channel in the queue that does not match the channel it was initialized with.

Implemented types

Constructors

InvalidCommandChannelException([String? message])
Creates a InvalidCommandChannelException object.
const
InvalidCommandChannelException.withValues(int? commandChannel, int? queueChannel, [String? message])
Creates a InvalidCommandChannelException object that includes the values that triggered this exception.
const

Properties

commandChannel int?
The channel that the command was initialized with.
final
hashCode int
The hash code for this object.
no setterinherited
message String?
The error message associated with this exception.
final
queueChannel int?
The channel that the command was added to.
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
A string representation of this object.
override

Operators

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