mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2024-11-25 08:38:09 -05:00
Merge branch 'master' into production
This commit is contained in:
commit
309b819a29
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue