class
Termisu::IOError
- Termisu::IOError
- Termisu::Error
- Exception
- Reference
- Object
Overview
Error raised for terminal I/O operations.
Wraps system-level I/O errors with additional context about the operation that failed. Handles EINTR transparently via retry.
Defined in:
termisu/error.crConstructors
- .new(errno : Errno, operation : String)
-
.read_failed(errno : Errno) : IOError
Creates an error for a failed read() call.
-
.select_failed(errno : Errno) : IOError
Creates an error for a failed select() call.
Instance Method Summary
-
#errno : Errno
The underlying system errno value.
Constructor Detail
Creates an error for a failed read() call.
Creates an error for a failed select() call.