In solidity there are currently two ways of generating and catching errors - by Error(string)
or a raw bytes
message.
This may not be enough and a more high level distinction would be nice by introducing custom error types the Solidity developer can create and use.