Exception: Tarantool16::DBError::KnownDBError

Inherits:
Tarantool16::DBError show all
Defined in:
lib/tarantool16/errors.rb

Class Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from Tarantool16::DBError

#inspect, with_code_message

Class Attribute Details

.return_codeObject

Returns the value of attribute return_code.



10
11
12
# File 'lib/tarantool16/errors.rb', line 10

def return_code
  @return_code
end

Instance Method Details

#return_codeObject



12
13
14
# File 'lib/tarantool16/errors.rb', line 12

def return_code
  self.class.return_code
end