module CZMQ::FFI::Errors
This is only used to be able to read get the last ZMQ error.
Public Class Methods
errno()
click to toggle source
@return [String] error code of the last (ZMQ) error
# File lib/czmq-ffi-gen/errors.rb, line 4 def self.errno CZMQ::FFI::LibZMQ.zmq_errno end
strerror()
click to toggle source
@return [String] the string representation of the last (ZMQ) error
# File lib/czmq-ffi-gen/errors.rb, line 9 def self.strerror CZMQ::FFI::LibZMQ.zmq_strerror(CZMQ::FFI::LibZMQ.zmq_errno) end