Remove streamId
from Errors
#168
Closed
smol-ninja
started this conversation in
Ideas
Replies: 2 comments 4 replies
-
I think we are reverting with a custom error that includes the ID everywhere when a stream is already created and it is not about a specific unique param (e.g. address
I don't agree with this. I've also mentioned something similar in the past when discussing the "Sablier" prefix. It is useful to have the ID in the custom error because it improves the DX for integrators with complex systems. |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
How do we decide which error should contain
streamId
?Some of the errors contain
streamId
and some of them not. I failed to understand what determines that. IMO we should excludestreamId
from errors since they are always part of the function's input data.RFC @andreivladbrg.
Beta Was this translation helpful? Give feedback.
All reactions