Commit 8bd4590a authored by Ricky Ng-Adam's avatar Ricky Ng-Adam Committed by Ben Noordhuis
Browse files

buffer: include encoding value in exception when invalid

Encoding failures can be somewhat confusing, especially when they are due to
control flow frameworks auto-filling parameters from the previous step output
values to functions (such as toString and write) that developers don't expect
to take an encoding parameter. By outputting the value as part of the message,
should make it easier to track down these sort of bugs.
parent 5288ed75
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment