Currently only distringuishes between revert reason string and no revert reason string, but this doesn't work for custom errors.