Class: Trilogy::SyscallError
- Inherits:
-
Object
- Object
- Trilogy::SyscallError
- Defined in:
- lib/trilogy/error.rb
Overview
Trilogy may raise various syscall errors, which we treat as Trilogy::Errors.
Constant Summary collapse
- ERRORS =
{}
Class Method Summary collapse
Class Method Details
.from_errno(errno, message) ⇒ Object
29 30 31 |
# File 'lib/trilogy/error.rb', line 29 def from_errno(errno, ) ERRORS[errno].new() end |