AIContentFilterError class
Content was filtered by safety settings.
Constructors
- AIContentFilterError({required String provider, String message = 'Content filtered by safety settings', String? category, Object? originalError})
Properties
- category → String?
-
The safety category that was triggered.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- isRetryable → bool
-
Whether this error is retryable.
no setteroverride
- message → String
-
Human-readable error message.
finalinherited
- originalError → Object?
-
Original error/exception from the provider (if available).
finalinherited
- provider → String
-
Which provider threw this error.
finalinherited
- 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.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited