mirror of
https://github.com/inventree/InvenTree.git
synced 2025-06-18 04:55:44 +00:00
feat(backend): Improve error with missing manifest (#8957)
* package tag results better * Add docs for missing frontend * better error indication Fixes #8875 * fix test assertations * fix test exception * group setup admin stuff * add operations supgourp * add basic structure * move error code * fix link * fix grammar issues
This commit is contained in:
26
docs/docs/settings/error_codes.md
Normal file
26
docs/docs/settings/error_codes.md
Normal file
@ -0,0 +1,26 @@
|
||||
## Error Codes
|
||||
|
||||
InvenTree is starting to use error codes to help identify and diagnose issues. These are increasingly being added to the codebase. Error messages missing an error code should be reported on GitHub.
|
||||
Error codes are prefixed with `INVE-` and are followed by a letter to indicate the type of error and a number to indicate the specific error. Once a code is used it might not be reassigned to a different error, it can be marked as stricken from the list.
|
||||
|
||||
### INVE-E (InvenTree Error)
|
||||
Errors - These are critical errors which should be addressed as soon as possible.
|
||||
|
||||
#### INVE-E1
|
||||
**No frontend included - Backend/web**
|
||||
|
||||
Only stable / production releases of InvenTree include the frontend panel. This is both a measure of resource-saving and attack surface reduction. If you want to use the frontend panel, you can either:″
|
||||
- use a docker image that is version-tagged or the stable version
|
||||
- use a package version that is from the stable or version stream
|
||||
- install node and yarn on the server to build the frontend with the [invoke](../start/invoke.md) task `int.frontend-build`
|
||||
|
||||
Raise an issue if none of these options work.
|
||||
|
||||
### INVE-W (InvenTree Warning)
|
||||
Warnings - These are non-critical errors which should be addressed when possible.
|
||||
|
||||
### INVE-I (InvenTree Information)
|
||||
Information — These are not errors but information messages. They might point out potential issues or just provide information.
|
||||
|
||||
### INVE-M (InvenTree Miscellaneous)
|
||||
Miscellaneous — These are information messages that might be used to mark debug information or other messages helpful for the InvenTree team to understand behaviour.
|
Reference in New Issue
Block a user