Timeline for When should I use `require` vs custom `revert` errors?
Current License: CC BY-SA 4.0
8 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Jun 4, 2022 at 20:34 | answer | added | John | timeline score: 1 | |
May 2, 2022 at 15:37 | vote | accept | Patrick Collins | ||
May 2, 2022 at 15:37 | answer | added | Patrick Collins | timeline score: 6 | |
May 2, 2022 at 14:52 | answer | added | luxo | timeline score: 3 | |
Mar 9, 2022 at 8:46 | comment | added | Mikko Ohtamaa | Better to raise in every case? Is there any downside? | |
Mar 9, 2022 at 0:59 | comment | added | Patrick Collins | Sounds like it might be sort of "whatever the dev feels like doing?" | |
Mar 8, 2022 at 19:45 | comment | added | Mikko Ohtamaa | Custom errors make sense when the caller might want to do something with them and detect what kind of an error was raised. | |
Mar 8, 2022 at 19:29 | history | asked | Patrick Collins | CC BY-SA 4.0 |