You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The resulting error array is quite painful to parse, as a result I've wrote this spaghetti that recursively parses errors into a single array of messages.
It could probably be improved by adding errorType property.
It would be nice to just go enqueue(...).withErrorParser() and get simply iterable list of exceptions that you could just .join() and print to the screen.
Hey @sjurgis!
Sounds good to me.
What about "plugin/feature" based approach? For example, create hooks in the component behavior where you can embed custom functionality as you mentioned?
Or, do you think it will be better to "hardcode/add" your function (decorator) directly to the component?
The resulting error array is quite painful to parse, as a result I've wrote this spaghetti that recursively parses errors into a single array of messages.
It could probably be improved by adding errorType property.
It would be nice to just go
enqueue(...).withErrorParser()
and get simply iterable list of exceptions that you could just.join()
and print to the screen.The text was updated successfully, but these errors were encountered: