class ZMQ::ContextError
Public Instance Methods
einval?()
click to toggle source
True when the exception was raised due to the library returning EINVAL.
Occurs when he number of app_threads requested is less than one, or the number of io_threads requested is negative.
# File lib/ffi-rzmq/exceptions.rb, line 28 def einval?() EINVAL == @error_code; end
eterm?()
click to toggle source
True when the exception was raised due to the library returning ETERM.
The associated context was terminated.
# File lib/ffi-rzmq/exceptions.rb, line 35 def eterm?() ETERM == @error_code; end