Exception: FalkorLib::Error

Inherits:
StandardError
  • Object
show all
Defined in:
lib/falkorlib/error.rb

Overview

Errors

Class Attribute Summary collapse

Instance Method Summary collapse

Class Attribute Details

.status_codeObject

Returns the value of attribute status_code.



14
15
16
# File 'lib/falkorlib/error.rb', line 14

def status_code
  @status_code
end

Instance Method Details

#status_codeObject



18
19
20
# File 'lib/falkorlib/error.rb', line 18

def status_code
  self.class.status_code
end