Calculates hash code according to all attributes.
Returns:
Hash code
128 129 130
# File 'lib/form_api/models/error.rb', line 128 def hash [status, error].hash end