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



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

def data
  {:errors => @options}
end

#statusObject



48
49
50
# File 'lib/moonrope/errors.rb', line 48

def status
  'validation-error'
end