module SystemError::ClassMethods

Defined in:

Instance Method Summary

Instance Method Detail

def from_errno(message : String? = nil, errno : Errno = Errno.value, **opts) #

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

[View source]