Skip to content

Commit

Permalink
Change the super class for exception class from RuntimeError to Stand…
Browse files Browse the repository at this point in the history
…ardError
  • Loading branch information
xordog committed Feb 28, 2024
1 parent ef65a07 commit 0edf6c8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ext/reflex/exception.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ Init_reflex_exception ()
{
Module mReflex = define_module("Reflex");

cReflexError = mReflex.define_class("ReflexError", rb_eRuntimeError);
cReflexError = mReflex.define_class("ReflexError", rb_eStandardError);
cLayoutError = mReflex.define_class("LayoutError", cReflexError);
cPhysicsError = mReflex.define_class("PhysicsError", cReflexError);
}
Expand Down

0 comments on commit 0edf6c8

Please sign in to comment.