unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* capture error stacktrace as sexp?
@ 2021-12-16 18:13 Felipe Lema
  2021-12-22 17:28 ` Stefan Monnier
  0 siblings, 1 reply; 3+ messages in thread
From: Felipe Lema @ 2021-12-16 18:13 UTC (permalink / raw)
  To: emacs-devel

Hello, there

Is there a way that, given an `(error ...)` when evaluation some elisp code one could capture the whole stacktrace as a sexp?

My intention is to serialize not only the error but the stacktrace of an error that occurs in a separate Emacs process so I can re-raise the error in /current/ process. You can find more info and context of my intents here: https://melpa.org/#/session-async 

Thanks
Felipe





^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2021-12-22 17:37 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-12-16 18:13 capture error stacktrace as sexp? Felipe Lema
2021-12-22 17:28 ` Stefan Monnier
2021-12-22 17:37   ` Felipe Lema

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).