mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Document the panic function of library deployment
This commit is contained in:
@@ -24,8 +24,8 @@ namespace solidity::util
|
||||
|
||||
enum class PanicCode
|
||||
{
|
||||
Generic = 0x00, // generic / unspecified error.
|
||||
Assert = 0x01, // generic / unspecified error. Used by assert().
|
||||
Generic = 0x00, // generic / unspecified error
|
||||
Assert = 0x01, // used by the assert() builtin
|
||||
UnderOverflow = 0x11, // arithmetic underflow or overflow
|
||||
DivisionByZero = 0x12, // division or modulo by zero
|
||||
EnumConversionError = 0x21, // enum conversion error
|
||||
|
||||
Reference in New Issue
Block a user