AutocompleteFailedException class

A wrapper class for an exception that caused an autocomplete event to fail.

This generally indicates incorrect or slow code inside an autocomplete callback, and the developer should try to fix the issue.

If you are throwing exceptions to indicate autocomplete failure, consider returning null instead.

Inheritance

Constructors

AutocompleteFailedException(Object exception, AutocompleteContext context)
Create a new AutocompleteFailedException.

Properties

context AutocompleteContext
The context in which the exception occurred.
final
exception Object
The exception that occurred.
final
hashCode int
The hash code for this object.
no setterinherited
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