AGUIError class

Base exception for AG-UI protocol errors.

The root exception class for all AG-UI protocol-related errors. AgUiError (lib/src/client/errors.dart) and AGUIValidationError both extend this class — so callers can catch the entire SDK error surface with on AGUIError. Catching on AgUiError covers transport / decoder / runtime errors but NOT direct-factory AGUIValidationError. See README → "Errors" for the catch-recipe.

Implemented types
Implementers

Constructors

AGUIError(String message)
const

Properties

hashCode int
The hash code for this object.
no setterinherited
message String
Human-readable error message.
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