Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

API errors should be standardized #63

Open
MysteriousNothing opened this issue Feb 24, 2024 · 0 comments
Open

API errors should be standardized #63

MysteriousNothing opened this issue Feb 24, 2024 · 0 comments

Comments

@MysteriousNothing
Copy link

MysteriousNothing commented Feb 24, 2024

Because https://github.com/phantasma-io/phantasma-ng?tab=readme-ov-file#contributing Say to report issue-s here...

I notice some endpoints errors are not standardised when creating Ruby Phantasma SDK API part
https://testnet.phantasma.info/swagger/index.html

SendRawTransaction
GetChains
GetChain
GetInterop
GetPlatform
GetOrganizationByName
GetLeaderboard

They should return errors like other endpoints {"error": "<enter error here>"}

APIException

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

No branches or pull requests

1 participant