This repository has been archived by the owner. It is now read-only.

Buffer: include encoding value in exception when invalid #4097

Closed
wants to merge 1 commit into
from
Commits on Oct 9, 2012
  1. Buffer: include encoding value in exception when invalid.

    rngadam committed Oct 9, 2012
    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.