emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: ignore-error?


From: Stefan Monnier
Subject: Re: ignore-error?
Date: Mon, 15 Jul 2019 10:45:58 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux)

> But it sure would be nice if we had some way of telling at least some of
> the errors that a function can raise...

We could decide that docstrings should mention which errors
are signal'd, indeed.  Ideally in a standardized format.

> Let's see...  It's this stuff?

Yup.

> The parameter should perhaps also be allowed to be a list of symbols:
>
> (ignore-error (file-error some-other-error)
>   (foo))

Even better,


        Stefan




reply via email to

[Prev in Thread] Current Thread [Next in Thread]