diff options
author | Jose Antonio Ortega Ruiz <jao@gnu.org> | 2009-02-08 11:56:30 +0100 |
---|---|---|
committer | Jose Antonio Ortega Ruiz <jao@gnu.org> | 2009-02-08 11:56:30 +0100 |
commit | 24ee48743e86fb2f780e18359ed73996f569df70 (patch) | |
tree | c5ed7c185cbd9b9ff194a5c27e37ff438501efad | |
parent | be3be2b56af17f8845adf651240aef6b10bd0acc (diff) | |
download | geiser-24ee48743e86fb2f780e18359ed73996f569df70.tar.gz geiser-24ee48743e86fb2f780e18359ed73996f569df70.tar.bz2 |
Better error presentation.
-rw-r--r-- | elisp/geiser-eval.el | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/elisp/geiser-eval.el b/elisp/geiser-eval.el index 74c9b29..8466a36 100644 --- a/elisp/geiser-eval.el +++ b/elisp/geiser-eval.el @@ -104,8 +104,13 @@ (defsubst geiser-eval--retort-p (ret) (and (listp ret) (or (assoc 'error ret) (assoc 'result ret)))) -(defsubst geiser-eval--retort-error (ret) (cdr (assoc 'error ret))) (defsubst geiser-eval--retort-result (ret) (cdr (assoc 'result ret))) +(defsubst geiser-eval--retort-error (ret) (cdr (assoc 'error ret))) + +(defsubst geiser-eval--error-key (err) (cdr (assoc 'key err))) +(defsubst geiser-eval--error-subr (err) (cdr (assoc 'subr err))) +(defsubst geiser-eval--error-msg (err) (cdr (assoc 'msg err))) +(defsubst geiser-eval--error-rest (err) (cdr (assoc 'rest err))) (provide 'geiser-eval) |