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 module.exports.ArgumentError = class ArgumentError extends Error
@className: 'ArgumentError' @className: 'ArgumentError'
constructor: (@message, @functionName, @argumentName, @intendedType, @actualValue, @numArguments, @hint) -> constructor: (@message, @functionName, @argumentName, @intendedType, @actualValue, @numArguments, @hint) ->
super message super @message
@name = 'ArgumentError' @name = 'ArgumentError'
if Error.captureStackTrace? if Error.captureStackTrace?
Error.captureStackTrace @, @constructor Error.captureStackTrace @, @constructor