Closed C-Mierez closed 1 year ago
@GNSPS can you look into this? you're the king of graphing 🤗 Errors should probably be exempt from the graphing at all, wdyt?
opened a discussion with https://github.com/ConsenSys/surya/issues/170. please follow up there.
thanks for reporting & cheers 🙌
Greetings.
This is a bit of niche suggestion perhaps, but I noticed when generating a graph on a contract that has Custom Errors defined, these are graphed the same way as regular functions.
For example, given this contract:
The generated graph is:
I like the idea of having errors showing in the graph, but it would be nice if they had some different styling to tell them apart from actual contract functions.