Exception: XS::MessageError
- Defined in:
- lib/ffi-rxs/exceptions.rb
Overview
Message error class
Instance Attribute Summary
Attributes inherited from XSError
#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 XSError
Constructor Details
This class inherits a constructor from XS::XSError
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.
46 |
# File 'lib/ffi-rxs/exceptions.rb', line 46 def enomem?() ENOMEM == @error_code; end |