Exception: SystemCallError
- Inherits:
-
StandardError
- Object
- Exception
- StandardError
- SystemCallError
Class Method Summary (collapse)
-
+ ===
Return true if the receiver is a generic SystemCallError, or if the error numbers self and other are the same.
Instance Method Summary (collapse)
-
- errno
Return this SystemCallError's error number.
-
- new
constructor
If errno corresponds to a known system error code, constructs the appropriate Errno class for that error, otherwise constructs a generic SystemCallError object.
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.
Instance Method Details
- (Fixnum) errno
Return this SystemCallError's error number.