diff options
| author | Yukihiro "Matz" Matsumoto <[email protected]> | 2014-06-03 15:46:16 +0900 |
|---|---|---|
| committer | Yukihiro "Matz" Matsumoto <[email protected]> | 2014-06-03 15:46:16 +0900 |
| commit | b83ff9ff300b9efa57f481333cd4a2001f49266b (patch) | |
| tree | 608a06128b6085fcf3bf4f837a8ea61724bc2341 /include | |
| parent | 896c1312311a15518218d0c50f7c7921b7983e1a (diff) | |
| parent | acec9d1ff19e2dbea9a4ff7b0030f74b9d42aa17 (diff) | |
| download | mruby-b83ff9ff300b9efa57f481333cd4a2001f49266b.tar.gz mruby-b83ff9ff300b9efa57f481333cd4a2001f49266b.zip | |
Merge pull request #2347 from take-cheeze/nomethod_args
Implement `NoMethodError#args`.
Diffstat (limited to 'include')
| -rw-r--r-- | include/mruby/error.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/mruby/error.h b/include/mruby/error.h index 7ae2d4348..4d37f1701 100644 --- a/include/mruby/error.h +++ b/include/mruby/error.h @@ -19,6 +19,7 @@ void mrb_exc_print(mrb_state *mrb, struct RObject *exc); void mrb_print_backtrace(mrb_state *mrb); mrb_value mrb_exc_backtrace(mrb_state *mrb, mrb_value exc); mrb_value mrb_get_backtrace(mrb_state *mrb); +mrb_noreturn void mrb_no_method_error(mrb_state *mrb, mrb_sym id, mrb_int argc, const mrb_value *argv, const char *fmt, ...); /* declaration for fail method */ mrb_value mrb_f_raise(mrb_state*, mrb_value); |
