warp icon indicating copy to clipboard operation
warp copied to clipboard

Support UserDefinedErrors

Open JorikSchellekens opened this issue 2 years ago • 1 comments

This is a little tricky since StarkNet doesn't support anything like this. Maybe we can replace this with a simple revert and emit a compiler warning stating that we've done so?

JorikSchellekens avatar Jan 15 '23 12:01 JorikSchellekens

I think a simple revert with the UserDefinedError name in the failing assert is a good enough approximation for now

swapnilraj avatar Jan 20 '23 09:01 swapnilraj