module SystemError::ClassMethods
Defined in:
system_error.crInstance Method Summary
-
#from_errno(message : String? = nil, errno : Errno = Errno.value, **opts)
Builds an instance of the exception from a
Errno
Instance Method Detail
Builds an instance of the exception from a Errno
By default it takes the current errno value. The message is appended
with the system message corresponding to the errno.
Additional keyword arguments can be passed and they will be forwarded
to the exception initializer