buffer: error and misc cleanup
authorTrevor Norris <trev.norris@gmail.com>
Tue, 22 Jan 2013 19:10:11 +0000 (11:10 -0800)
committerBen Noordhuis <info@bnoordhuis.nl>
Fri, 25 Jan 2013 10:59:26 +0000 (11:59 +0100)
commitcbe3941db9ec4f47a336fb36a2b91275c3acc7fa
tree6e708da54e413f14d64903559414c9f44ded18bb
parent49175e6ae293fdb564fa0e91fdb104a3a1f248f5
buffer: error and misc cleanup

Changed types of errors thrown to be more indicative of what the error
represents. Also removed a few unnecessary uses of the v8 fully
quantified typename.
lib/buffer.js
src/node_buffer.cc