Custom errors are available from solidity version 0.8.4. The instances below match or exceed that version
See original submission for details.
