Merge branch 'master' into production

This commit is contained in:
Nick Winter 2015-01-31 18:40:51 -08:00
commit 309b819a29

View file

@ -3,7 +3,7 @@ Vector = require './vector'
module.exports.ArgumentError = class ArgumentError extends Error
@className: 'ArgumentError'
constructor: (@message, @functionName, @argumentName, @intendedType, @actualValue, @numArguments, @hint) ->
super message
super @message
@name = 'ArgumentError'
if Error.captureStackTrace?
Error.captureStackTrace @, @constructor