In version 0.8.4 custom errors are introduced so both the error and revert functionality are not availabe in version 0.8.3. When building this likely will not be an issue if the solc compiler version is set to something higher than 0.8.3 as the pragma line specifies 0.8.3 or higher, otherwise you will see an error.
You can find more information about the custom errors functionalilty introduction to solidity in the 0.8.4 release notes:
Low
Update the pragma line to use ^0.8.4
The contest is live. Earn rewards by submitting a finding.
This is your time to appeal against judgements on your submissions.
Appeals are being carefully reviewed by our judges.