doc: include error code in buffer documentation
Replace mentions of RangeError
with the specific error code (e.g.,
ERR_INVALID_OPT_VALUE
). Minor improvements to nearby text (wrap at 80
chars, serial comma, remove unnecessary articles, use present tense
consistently).
Checklist
-
documentation is changed or added -
commit message follows commit guidelines