diff --git a/lib/class.js b/lib/class.js index a562345..8c51910 100644 --- a/lib/class.js +++ b/lib/class.js @@ -264,8 +264,8 @@ function createNamedClass( name, def ) if ( arguments.length > 2 ) { throw Error( - "Expecting two arguments for definition of named Class '" + name + - "'; " + arguments.length + " given." + "Expecting at most two arguments for definition of named Class '" + + name + "'; " + arguments.length + " given." ); }