Method: Aggkit::ChildProcess::Unix::Lib.check

Defined in:
lib/aggkit/childprocess/unix/lib.rb

.check(errno) ⇒ Object



94
95
96
97
98
# File 'lib/aggkit/childprocess/unix/lib.rb', line 94

def self.check(errno)
  if errno != 0
    raise Error, Lib.strerror(FFI.errno)
  end
end