returnning actual Error objects for errors to avoid funkyness with testing libraries
returnning actual Error objects for errors to avoid funkyness with testing libraries

relates to #298

JohnBorkowski/node-sdk,JohnBorkowski/node-sdk,JohnBorkowski/node-sdk