Exception: ShakeTheCounterError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/shake_the_counter/shake_the_counter_error.rb

Instance Attribute Summary collapse

Instance Attribute Details

#error_codeObject

Returns the value of attribute error_code.



3
4
5
# File 'lib/shake_the_counter/shake_the_counter_error.rb', line 3

def error_code
  @error_code
end

#error_messageObject

Returns the value of attribute error_message.



2
3
4
# File 'lib/shake_the_counter/shake_the_counter_error.rb', line 2

def error_message
  @error_message
end