Exception: Europeana::FeedbackButton::ApplicationError

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(message, **options) ⇒ ApplicationError

Returns a new instance of ApplicationError.



31
32
33
34
# File 'lib/europeana/feedback_button.rb', line 31

def initialize(message, **options)
  super(message)
  @errors = options[:errors]
end

Instance Attribute Details

#errorsObject (readonly)

Returns the value of attribute errors.



29
30
31
# File 'lib/europeana/feedback_button.rb', line 29

def errors
  @errors
end