[DOC] Improve description of LoadError#path
and SyntaxError#path
This commit is contained in:
parent
9a966a09cb
commit
1172d65926
Notes:
git
2024-09-26 16:00:54 +00:00
Merged: https://github.com/ruby/ruby/pull/11684 Merged-By: nobu <nobu@ruby-lang.org>
4
error.c
4
error.c
@ -3507,11 +3507,11 @@ Init_Exception(void)
|
||||
* and will render `idPath` as an attribute name without this trick */
|
||||
ID path = idPath;
|
||||
|
||||
/* the path failed to parse */
|
||||
/* the path that failed to parse */
|
||||
rb_attr(rb_eSyntaxError, path, TRUE, FALSE, FALSE);
|
||||
|
||||
rb_eLoadError = rb_define_class("LoadError", rb_eScriptError);
|
||||
/* the path failed to load */
|
||||
/* the path that failed to load */
|
||||
rb_attr(rb_eLoadError, path, TRUE, FALSE, FALSE);
|
||||
|
||||
rb_eNotImpError = rb_define_class("NotImplementedError", rb_eScriptError);
|
||||
|
Loading…
x
Reference in New Issue
Block a user