class ZMQ::ContextError

Defined in:

zeromq/exceptions.cr

Instance Method Summary

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.


[View source]
def eterm? #

True when the exception was raised due to the library returning ETERM.

The associated context was terminated.


[View source]