ConverterFailedException class
An exception thrown when a converter fails to convert user input.
- Inheritance
-
- Object
- CommandsException
- ContextualException
- BadInputException
- ConverterFailedException
Constructors
- ConverterFailedException(Converter failed, StringView input, ContextData context)
- Create a new ConverterFailedException.
Properties
- context → ContextData
-
The context in which the exception occurred.
finalinherited
- failed → Converter
-
The converter that failed.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- input → StringView
-
The StringView representing the arguments before the converter was invoked.
final
- message ↔ String
-
The message for this exception.
getter/setter pairinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- stackTrace ↔ StackTrace?
-
The stack trace at the point where this exception was first thrown.
getter/setter pairinherited
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