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

Error are jsonify and should have the same schema#16

Open
MoiTux wants to merge 1 commit intomasterfrom
jysonify-error
Open

Error are jsonify and should have the same schema#16
MoiTux wants to merge 1 commit intomasterfrom
jysonify-error

Conversation

@MoiTux
Copy link
Copy Markdown
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
Copy Markdown

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