1
0
Fork 0

Error => TypeError, manual

closure/master
Mike Gerwitz 2011-03-21 22:19:03 -04:00
parent 97036e4c88
commit f874a48a55
1 changed files with 1 additions and 1 deletions

View File

@ -590,7 +590,7 @@ an instance of @var{Dog}. It doesn't matter what instance of @var{Dog} - be it a
// ensure that we are given an instance of Dog // ensure that we are given an instance of Dog
if ( Class.isA( Dog, dog ) === false ) if ( Class.isA( Dog, dog ) === false )
{ {
throw Error( "Expected instance of Dog" ); throw TypeError( "Expected instance of Dog" );
} }
} }
} ); } );