diff options
author | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 1999-12-14 06:50:43 +0000 |
---|---|---|
committer | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 1999-12-14 06:50:43 +0000 |
commit | 9d228b13deccfdf23f44e2c465f723a2a7b3bcbd (patch) | |
tree | 9a4d769804c389b6b03bbfdf65e8e0a03288c8e8 /error.c | |
parent | c18d3740a925e8752c3b93acea6087fb0e03be53 (diff) | |
download | ruby-9d228b13deccfdf23f44e2c465f723a2a7b3bcbd.tar.gz |
19991214
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@587 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'error.c')
-rw-r--r-- | error.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -247,6 +247,7 @@ VALUE rb_eIndexError; VALUE rb_eLoadError; VALUE rb_eSecurityError; VALUE rb_eNotImpError; +VALUE rb_eNoMemError; VALUE rb_eSystemCallError; VALUE rb_mErrno; @@ -387,6 +388,7 @@ check_backtrace(bt) static VALUE exc_set_backtrace(exc, bt) VALUE exc; + VALUE bt; { return rb_iv_set(exc, "bt", check_backtrace(bt)); } @@ -541,6 +543,7 @@ Init_Exception() rb_eRuntimeError = rb_define_class("RuntimeError", rb_eStandardError); rb_eSecurityError = rb_define_class("SecurityError", rb_eStandardError); rb_eNotImpError = rb_define_class("NotImplementError", rb_eException); + rb_eNoMemError = rb_define_class("NoMemoryError", rb_eException); init_syserr(); } |