SystemError::ClassMethods - Crystal 0.35.1

# module SystemError::ClassMethods

##
Defined in:

##
Instance Method Summary

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

  Builds an instance of the exception from a `Errno`

##
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