Skip to main content

stdError

Git Source

State Variables

assertionError

bytes public constant assertionError = abi.encodeWithSignature("Panic(uint256)", 0x01);

arithmeticError

bytes public constant arithmeticError = abi.encodeWithSignature("Panic(uint256)", 0x11);

divisionError

bytes public constant divisionError = abi.encodeWithSignature("Panic(uint256)", 0x12);

enumConversionError

bytes public constant enumConversionError = abi.encodeWithSignature("Panic(uint256)", 0x21);

encodeStorageError

bytes public constant encodeStorageError = abi.encodeWithSignature("Panic(uint256)", 0x22);

popError

bytes public constant popError = abi.encodeWithSignature("Panic(uint256)", 0x31);

indexOOBError

bytes public constant indexOOBError = abi.encodeWithSignature("Panic(uint256)", 0x32);

memOverflowError

bytes public constant memOverflowError = abi.encodeWithSignature("Panic(uint256)", 0x41);

zeroVarError

bytes public constant zeroVarError = abi.encodeWithSignature("Panic(uint256)", 0x51);