statusCode property

int? statusCode
final

The HTTP status the server answered with, mirroring FilamentTransportException.statusCode. Null when there was no response to read one from — a transport throw (offline, DNS) or a host transport that never implemented FilamentUploadTransport — which is exactly the set of failures a form field cannot blame on this one field, so ResourceFormProvider.uploadFile() routes anything but a literal 422 to the form banner rather than the field.

Implementation

final int? statusCode;