Skip to content
On this page
class · Ruby 4.0

SystemCallError

< StandardError 1 instance methods 2 class methods

SystemCallError is the base class for all low-level platform-dependent errors.

The errors available on the current platform are subclasses of SystemCallError and are defined in the Errno module.

Example
File.open("does/not/exist")

raises the exception:

Errno::ENOENT: No such file or directory - does/not/exist

Class methods 2

Instance methods 1