Skip to content
This repository has been archived by the owner on Jan 25, 2023. It is now read-only.

Upgrade BeaconError to allow for 200 response code #262

Open
jrambla opened this issue Jan 29, 2019 · 2 comments
Open

Upgrade BeaconError to allow for 200 response code #262

jrambla opened this issue Jan 29, 2019 · 2 comments
Assignees
Milestone

Comments

@jrambla
Copy link
Collaborator

jrambla commented Jan 29, 2019

Currently, the description of BeaconError is "Beacon-specific error. This should be non-null in exceptional situations only, in which case exists has to be null."
I believe that being precise in the values of attributes is desirable, given the ambiguous meaning of "null" ("no" vs "I don't know").
Thus I'll like to update the description to allow for a 200 response code, while keeping "null" also for retrocompatibility, but "not recommended".

@jrambla
Copy link
Collaborator Author

jrambla commented Jan 29, 2019

Beacon.md should be also updated to better inform on errors or return codes management.

@sdelatorrep
Copy link
Contributor

I created PR #267

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

No branches or pull requests

2 participants