class ZMQ::ContextError
- ZMQ::ContextError
- ZMQ::ZeroMQError
- Exception
- Reference
- Object
Defined in:
zeromq/exceptions.crInstance Method Summary
-
#einval?
True when the exception was raised due to the library returning EINVAL.
-
#eterm?
True when the exception was raised due to the library returning ETERM.
Instance methods inherited from class ZMQ::ZeroMQError
error_code : Int32
error_code,
message : String | Nil
message,
result_code : Int32
result_code,
source : String
source
Constructor methods inherited from class ZMQ::ZeroMQError
new(source : String, result_code : Int32, error_code : Int32, message)
new
Instance Method Detail
def einval?
#
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.
def eterm?
#
True when the exception was raised due to the library returning ETERM.
The associated context was terminated.