Skip to content
This repository has been archived by the owner on Mar 26, 2021. It is now read-only.

Error are jsonify and should have the same schema #16

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

MoiTux
Copy link
Contributor

@MoiTux MoiTux commented Oct 8, 2016

Error will be a dict:

{
  'error': 'This is a message explaing the error',
  'field': 'field_name'
}

if the error is on a 'filter' or 'sort' parameters (query string)
the key 'field' will be set with the name of the faulty parameters

Fix #15

Error will be a dict:
{
  'error': 'This is a message explaing the error',
  'field': 'field_name'
}

if the error is on a 'filter' or 'sort' parameters (query string)
the key 'field' will be set with the name of the faulty parameters

Fix #15
@coveralls
Copy link

Coverage Status

Coverage decreased (-2.08%) to 59.569% when pulling e972550 on jysonify-error into 731eaab on master.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants