Encode/decode error handling and fallback #5
killthebuddh4
started this conversation in
XIP Ideas
Replies: 2 comments 2 replies
-
Good question and suggestion. I don't think there is much a codec writer can do in the face of decoding errors, other than let the error bubble up. That should ultimately result in the Stream.next() call to throw. I think I agree with the suggestion, |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
My current understanding of fallback content is that
So I guess I have one question and one suggestion:
decode
method?decode
method and then handle the message as if the required codec had not been registered.Beta Was this translation helpful? Give feedback.
All reactions