buffer: reword Buffer.concat error message
authorChris Dickinson <christopher.s.dickinson@gmail.com>
Fri, 14 Nov 2014 00:55:16 +0000 (16:55 -0800)
committercjihrig <cjihrig@gmail.com>
Thu, 5 Mar 2015 14:47:20 +0000 (09:47 -0500)
commit31421afe897635bd86201c2e677fb881b57a892c
treee012bdff05a0a779f082e509b8ffcf8efad2d865
parentabd3ecfbd196c65835d13473d479827b6bce424b
buffer: reword Buffer.concat error message

this brings the error messaging in line with
other node TypeError messages.

Fixes: https://github.com/joyent/node/issues/7766
PR-URL: https://github.com/joyent/node/pull/8723
Reviewed-By: James M Snell <jasnell@users.noreply.github.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
lib/buffer.js