diff options
| author | Stefan Monnier | 2026-03-08 19:11:13 -0400 |
|---|---|---|
| committer | Stefan Monnier | 2026-03-10 10:48:10 -0400 |
| commit | a1358530f533a1151c7207e1ad634b1b9fae5a91 (patch) | |
| tree | 3c1ae7abf8d245c79a39c5cfa133e1d858e8664b /java/incrementing-version-code | |
| parent | ea5f15d09642435ecb645fc5dc7b84cc047ba8e6 (diff) | |
| download | emacs-a1358530f533a1151c7207e1ad634b1b9fae5a91.tar.gz emacs-a1358530f533a1151c7207e1ad634b1b9fae5a91.zip | |
Improve the error API
Define new functions to manipulate error descriptors and
add support for `signal` to *re*signal a previous error.
* src/eval.c (Fsignal): Make the second arg optional and document
the possibility of passing a whole error descriptor to re-signal it.
(signal_or_quit): Fix a few corner case issues when
DATA is `nil` and ERROR_SYMBOL is an error descriptor.
* lisp/subr.el (error-type-p, error--p, error-type, error-data)
(error-has-type-p, error-slot-value): New function.
* doc/lispref/control.texi (Handling Errors): Prefer "error descriptor"
to "error description". Use the new single-arg call to `signal` to
re-throw an error.
Document `error-type`, `error-data` and `error-slot-value`.
(Error Symbols): Document the new functions `error-type-p` and
`error-has-type-p`.
Diffstat (limited to 'java/incrementing-version-code')
0 files changed, 0 insertions, 0 deletions