Exception: ProntoForms::Error

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

Overview

Base error class.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(message) ⇒ Error

Returns a new instance of Error.



11
12
13
# File 'lib/prontoforms.rb', line 11

def initialize(message)
  @message = message
end

Instance Attribute Details

#messageObject (readonly)

Returns the value of attribute message.



9
10
11
# File 'lib/prontoforms.rb', line 9

def message
  @message
end