diff options
author | 卜部昌平 <shyouhei@ruby-lang.org> | 2020-12-21 11:15:08 +0900 |
---|---|---|
committer | 卜部昌平 <shyouhei@ruby-lang.org> | 2021-09-10 20:00:06 +0900 |
commit | 1b6245ccdcd414698a257847d508603f438578ca (patch) | |
tree | 2916cfceb1e4536f52a267b326210f1857d647d0 /eval.c | |
parent | 4881a3ed38dca132ae85878d40ad79b8f4aa5e55 (diff) |
include/ruby/internal/error.h: add doxygen
Must not be a bad idea to improve documents.
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/4815
Diffstat (limited to 'eval.c')
-rw-r--r-- | eval.c | 14 |
1 files changed, 0 insertions, 14 deletions
@@ -1769,26 +1769,12 @@ errinfo_getter(ID id, VALUE *_) return get_errinfo(); } -/*! The current exception in the current thread. - * - * Same as \c $! in Ruby. - * \return the current exception or \c Qnil - * \ingroup exception - */ VALUE rb_errinfo(void) { return GET_EC()->errinfo; } -/*! Sets the current exception (\c $!) to the given value - * - * \param[in] err an \c Exception object or \c Qnil. - * \exception TypeError if \a err is neither an exception nor \c nil. - * \note this function does not raise the exception. - * Use \c rb_raise() when you want to raise. - * \ingroup exception - */ void rb_set_errinfo(VALUE err) { |