Skip to content

Add 'status' to JSONAPIError dictionary#10002

Merged
jwalz merged 2 commits into
CenterForOpenScience:feature/registration_resourcesfrom
jwalz:feature/registration_resources
Aug 2, 2022
Merged

Add 'status' to JSONAPIError dictionary#10002
jwalz merged 2 commits into
CenterForOpenScience:feature/registration_resourcesfrom
jwalz:feature/registration_resources

Conversation

@jwalz
Copy link
Copy Markdown
Contributor

@jwalz jwalz commented Aug 2, 2022

Purpose

Be consistent with JSONAPI error spec

Changes

Add a status entry to the error dictionary, borrowing the status_code from the parsed exception

QA Notes

Please make verification statements inspired by your code and what your code touches.

  • Verify
  • Verify

What are the areas of risk?

Any concerns/considerations/questions that development raised?

Documentation

Side Effects

Ticket

@jwalz jwalz marked this pull request as ready for review August 2, 2022 20:12
@jwalz jwalz merged commit 23984ad into CenterForOpenScience:feature/registration_resources Aug 2, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants