Is there a way to combine VecSkipError and StringWithSeparator #773
-
Looking for a way to combine VecSkipError and StringWithSeparator so that we could use StringWithSeparator that doesn't error with 1 bad string. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
No, there is no way to combine them like you want. Writing |
Beta Was this translation helpful? Give feedback.
No, there is no way to combine them like you want. Writing
VecSkipError<StringWithSeparator<...>>
is the only way, but that, as you identified, creates aVec<Vec<...>>
. You will have to copy the code fromStringWithSeparator
and add the error handling to that.