Exception: ZMQ::ContextError
- Inherits:
-
ZeroMQError
- Object
- StandardError
- ZeroMQError
- ZMQ::ContextError
- Defined in:
- lib/ffi-rzmq/exceptions.rb
Instance Attribute Summary
Attributes inherited from ZeroMQError
#error_code, #message, #result_code, #source
Instance Method Summary collapse
-
#einval? ⇒ Boolean
True when the exception was raised due to the library returning EINVAL.
-
#eterm? ⇒ Boolean
True when the exception was raised due to the library returning ETERM.
Methods inherited from ZeroMQError
Constructor Details
This class inherits a constructor from ZMQ::ZeroMQError
Instance Method Details
#einval? ⇒ Boolean
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.
28 |
# File 'lib/ffi-rzmq/exceptions.rb', line 28 def einval?() EINVAL == @error_code; end |
#eterm? ⇒ Boolean
True when the exception was raised due to the library returning ETERM.
The associated context was terminated.
35 |
# File 'lib/ffi-rzmq/exceptions.rb', line 35 def eterm?() ETERM == @error_code; end |