all messages for Emacs-related lists mirrored at yhetil.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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.