Exception: LoadError

Inherits:
ScriptError show all
Defined in:
error.c,
error.c

Overview

Raised when a file required (a Ruby script, extension library, ...) fails to load.

require 'this/file/does/not/exist'

raises the exception:

LoadError: no such file to load -- this/file/does/not/exist

Method Summary

Methods inherited from Exception

#==, #backtrace, #exception, exception, #initialize, #inspect, #message, #set_backtrace, #to_s

Constructor Details

This class inherits a constructor from Exception