Exception: ZMQ::MessageError

Inherits:
ZeroMQError show all
Defined in:
lib/ffi-rzmq/exceptions.rb

Instance Attribute Summary

Attributes inherited from ZeroMQError

#error_code, #message, #result_code, #source

Instance Method Summary collapse

Methods inherited from ZeroMQError

#initialize

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.

Returns:

  • (Boolean)

47
# File 'lib/ffi-rzmq/exceptions.rb', line 47

def enomem?() ENOMEM == @error_code; end