Exception: Moonrope::Errors::ValidationError

Inherits:
RequestError show all
Defined in:
lib/moonrope/errors.rb

Instance Attribute Summary

Attributes inherited from RequestError

#options

Instance Method Summary collapse

Methods inherited from RequestError

#initialize

Constructor Details

This class inherits a constructor from Moonrope::Errors::RequestError

Instance Method Details

#dataObject



55
56
57
# File 'lib/moonrope/errors.rb', line 55

def data
  {:errors => @options}
end

#statusObject



51
52
53
# File 'lib/moonrope/errors.rb', line 51

def status
  'validation-error'
end