Document the panic function of library deployment

This commit is contained in:
Alex Beregszaszi
2021-05-26 15:51:46 +01:00
parent 29c8f282e4
commit bf2c82adca
4 changed files with 9 additions and 6 deletions
+2 -2
View File
@@ -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