For now I am using "ScriptError". =C2=A0I was using "SyntaxError", but I = think
that was just wrong. =C2=A0Here are some places:
I have what I want to be pure virtual methods in a base class:
From what I've seen, it seems more idiomatic in Ruby not to define
"pure virtual" methods, and instead describe methods that must be
provided in child classes in the parent classes docs. Pure virtual
methods in static languages mostly exist to allow code to compile that
targets the generic interface of the class, but since Ruby doesn't
have static variable typing and compile-time checking that method
calls are valid for the type of the variable they are called against,
there doesn't seem to be a whole lot of reason to actually define a
pure virtual method.
If a call is made to an undefined method, you'll normally (unless
you've, e.g., done something with method_missing that redirects the
call) get a NoMethodError exception thrown.