class LoadError - Ruby 2.2.4 Core API Reference API Reference

Ruby 2.2 Core API

class LoadError

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

In Files

  • error.c

Parent

ScriptError

Attributes

rb_intern_const("path")[R]

the path failed to load