PrCore Documentation
AI Assistant GitHub Toggle Dark/Light/Auto mode Toggle Dark/Light/Auto mode Toggle Dark/Light/Auto mode Back to homepage

Error reporting

In the event of the plugin encountering an error, the error message will be promptly relayed to the core. Subsequently, the core will proceed to update the status of the plugin to reflect the ERROR status, with the error message being attached to the plugin. This implies that the plugin will be rendered unusable unless certain project definitions are modified by the user. In the event that all plugins have been marked with the ERROR status, the core will designate the entire project as being in an error state, necessitating intervention by the user.

sequenceDiagram
    Plugin-)Core: ERROR_REPORT

ERROR_REPORT

The error message will include the detail field.

{
    "project_id": 123,
    "plugin_id": 345,
    "detail": "error message"
}