class Tarantool::StatusCode
Attributes
code[R]
Public Class Methods
new(code, msg)
click to toggle source
Calls superclass method
# File lib/tarantool/exceptions.rb, line 13 def initialize(code, msg) super(msg) @code = code end
Public Instance Methods
to_s()
click to toggle source
# File lib/tarantool/exceptions.rb, line 17 def to_s "#{super} [#{code}]" end