Replies: 2 comments 3 replies
-
Hmm, so Maybe I’m misunderstanding the proposal but I’m not sure this would work well for the general case. 🤔 |
Beta Was this translation helpful? Give feedback.
-
Just curious, would it be bad just encode the errors as |
Beta Was this translation helpful? Give feedback.
-
When using the
errros.Join
to return a result from aWork
function, all errors are recorded as a single string in the database, which can be inconvenient when viewing a large number of errors in RiverUI. Below is an example code:The reason for this behaviour may be use of ErrorStr method instead of errors.Unwrap when recording an error in the database.
How do you feel about supporting the recording of a slice of errors in the database and displaying them in RiverUI as a list separated by newlines?
Beta Was this translation helpful? Give feedback.
All reactions