Exception: ZMQ::MessageError
- Inherits:
-
ZeroMQError
- Object
- StandardError
- ZeroMQError
- ZMQ::MessageError
- Defined in:
- lib/ffi-rzmq/exceptions.rb
Instance Attribute Summary
Attributes inherited from ZeroMQError
#error_code, #message, #result_code, #source
Instance Method Summary collapse
-
#enomem? ⇒ Boolean
True when the exception was raised due to the library returning ENOMEM.
Methods inherited from ZeroMQError
Constructor Details
This class inherits a constructor from ZMQ::ZeroMQError
Instance Method Details
#enomem? ⇒ Boolean
True when the exception was raised due to the library returning ENOMEM.
Only ever raised by the #Message class when it fails to allocate sufficient memory to send a message.
47 |
# File 'lib/ffi-rzmq/exceptions.rb', line 47 def enomem?() ENOMEM == @error_code; end |