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



42
43
44
# File 'lib/moonrope/errors.rb', line 42

def data
  {:errors => @options}
end

#statusObject



38
39
40
# File 'lib/moonrope/errors.rb', line 38

def status
  'validation-error'
end