ScriptError is the superclass for errors raised when a script can not be executed because of a LoadError, NotImplementedErroror a SyntaxError. Note these type of ScriptErrorsare not StandardErrorand will not be rescued unless it is specified explicitly (or its ancestor Exception).