Subject: smart error handling

From: [email-masked]
Date: Mon, 28 Jun 1993 20:42:45 -0700

I want to write a MOO verb which will handle errors in much the same
way as a builtin function does.  That is, I want it to return an error
value to the caller if the caller has non-d perms, and force a traceback if
the caller has d perms.  Has anyone done something like this?  If so, how?

-- Eric Weber

---

From: Judy Anderson <[email-masked]>
Date: Mon, 28 Jun 1993 21:13:39 -0700

$error:raise(error) will force a traceback.  I guess you have to do
verb_info on your caller to figure out if they have d perms.

---

From: Pavel Curtis <[email-masked]>
Date: Tue, 29 Jun 1993 14:36:30 -0700

> Date:	Mon, 28 Jun 1993 21:13:39 -0700
> From:	Judy Anderson <[email-masked]>
> 

Also, be aware that the next release of the server contains far more convenient
language-level support for error signalling and handling, so it may well not be
worth your time to put very much effort into this hacked emulation of that
facility.

	Pavel