AiinAuthException class final
A setup-flow failure talking to the AIIN auth or API service.
Setup-time only: chat traffic through the resulting sk-aiin-… key rides
the openai-completions adapter and keeps the errors-as-events invariant.
- Implemented types
Constructors
- AiinAuthException(String message, {String code = 'unknown', int? statusCode})
-
Creates the exception for a failed AIIN setup call.
const
Properties
- code → String
-
Machine-readable
errorfield from the service (best effort).final - hashCode → int
-
The hash code for this object.
no setterinherited
- message → String
-
Human-readable description (the service
messagewhen present).final - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- statusCode → int?
-
HTTP status of the failed call, when the failure was a response.
final
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