Module: 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
32 33 34 |
# File 'lib/trilogy/error.rb', line 32 def from_errno(errno, ) ERRORS[errno].new() end |