FdcDataAdapterException class

Canonical exception raised at the adapter/dataset boundary.

Adapters may throw this directly to preserve backend-specific context. The dataset also wraps plain adapter/backend exceptions into this type before storing or emitting user-visible errors, so grids/editors/custom UI can handle adapter failures uniformly without knowing the concrete adapter.

Inheritance

Constructors

FdcDataAdapterException({required String message, String? operation, int? recordId, String? fieldName, String? code, Object? details, StackTrace? stackTrace, Object? cause})
Creates a FdcDataAdapterException.

Properties

cause Object?
Original exception or backend object that caused this error.
finalinherited
code String?
Stable backend/FDC error code, when available.
final
details Object?
Optional backend-specific diagnostic payload.
final
errors List<FdcDataSetError>
Errors associated with this result.
finalinherited
fieldName String?
Field related to the failure, when known.
final
hashCode int
The hash code for this object.
no setterinherited
message String
User-facing message text.
finalinherited
operation String?
Dataset/adapter operation that failed, for diagnostics.
final
recordId int?
Dataset record id related to the failure, when known.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
stackTrace StackTrace?
Original stack trace captured at the adapter boundary, when available.
final

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