From f874a48a55017164e9f70037b154495d9a620974 Mon Sep 17 00:00:00 2001 From: Mike Gerwitz Date: Mon, 21 Mar 2011 22:19:03 -0400 Subject: [PATCH] Error => TypeError, manual --- doc/classes.texi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/classes.texi b/doc/classes.texi index c303f2f..1e299e4 100644 --- a/doc/classes.texi +++ b/doc/classes.texi @@ -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 if ( Class.isA( Dog, dog ) === false ) { - throw Error( "Expected instance of Dog" ); + throw TypeError( "Expected instance of Dog" ); } } } );