Exception: BZMQ::SocketError
- Inherits:
-
StandardError
- Object
- StandardError
- BZMQ::SocketError
- Defined in:
- lib/bzmq/socket.rb
Instance Attribute Summary collapse
-
#error_code ⇒ Object
readonly
Returns the value of attribute error_code.
Instance Method Summary collapse
-
#initialize(message, error_code = -1)) ⇒ SocketError
constructor
A new instance of SocketError.
Constructor Details
#initialize(message, error_code = -1)) ⇒ SocketError
Returns a new instance of SocketError.
51 52 53 54 |
# File 'lib/bzmq/socket.rb', line 51 def initialize(, error_code=-1) @error_code = error_code super() end |
Instance Attribute Details
#error_code ⇒ Object (readonly)
Returns the value of attribute error_code.
50 51 52 |
# File 'lib/bzmq/socket.rb', line 50 def error_code @error_code end |