Lawrence Forman
eaa4373a18
@0x/utils
: Tweak RevertError
to produce a meaningful Error
message/stack trace.
...
`@0x/utils`: Add more `RevertError` decoding/transforming functions (such as `decodeThrownErrorAsRevertError()`)
2019-07-23 15:27:39 -07:00
Lawrence Forman
633c5d5938
In @0x/utils
add encode()
method to RevertError
2019-07-23 15:17:56 -07:00
Lawrence Forman
703a0fde3c
In @0x/utils
: Add AnyRevertError
type that matches with any revert error
2019-07-23 15:17:28 -07:00
Lawrence Forman
6231724f49
Rename RichRevertReason
to RevertError
.
...
Rename `StandardError` to `StringRevertError`.
Rename `RichRevertAbi` to `RevertErrorAbi`.
Make `RevertError` extend `Error` so it can be thrown.
Add `RevertError` tests.
2019-07-23 15:15:17 -07:00