afterStateUpdated(fn(FileUpload $component, Set $set) => $this->extractInformation($component, $set)) to call a function for all the logic and within it I tried using _uploadErrored as well as throwing ValidationException directly but neither of them worked.