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

Standard errors system #124

Open
slntopp opened this issue May 26, 2021 · 1 comment
Open

Standard errors system #124

slntopp opened this issue May 26, 2021 · 1 comment

Comments

@slntopp
Copy link
Member

slntopp commented May 26, 2021

Should be based on error codes, contain description, short name, fatality level

Sample error codes

M1001 - Moderate, 1 for VM, 001 - instantiate failed
I2005 - Infrastructure related, 2 for VN, 005 for no Addresses left
C0000 - Core, Fatal IONe error

Common error class should be implemented
Log errors to errors DB table
Show stats in IONe Admin UI

Create support tickets if level is too high

@slntopp
Copy link
Member Author

slntopp commented May 26, 2021

So sample response would be:

{ error: "Description", code: "code" }

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

1 participant