Exception: SystemCallError

StandardError show all

Class Method Summary (collapse)

Instance Method Summary (collapse)

Methods inherited from Exception

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

Constructor Details

- (Object) new(msg, errno)

If errno corresponds to a known system error code, constructs the appropriate Errno class for that error, otherwise constructs a generic SystemCallError object. The error number is subsequently available via the errno method.

Class Method Details

+ (Boolean) ===(other)

Return true if the receiver is a generic SystemCallError, or if the error numbers self and other are the same.


  • (Boolean)

Instance Method Details

- (Fixnum) errno

Return this SystemCallError's error number.