mirror of
https://github.com/plan-player-analytics/Plan.git
synced 2024-12-29 12:37:40 +01:00
parent
89572adb86
commit
9659ef2f08
@ -124,6 +124,11 @@ public class DBOpException extends IllegalStateException implements ExceptionWit
|
|||||||
.whatToDo("Report this, there is an SQL Constraint Violation.");
|
.whatToDo("Report this, there is an SQL Constraint Violation.");
|
||||||
break;
|
break;
|
||||||
// Custom rules based on reported errors
|
// Custom rules based on reported errors
|
||||||
|
case 11:
|
||||||
|
case 14:
|
||||||
|
context.related("SQLite file is corrupt.")
|
||||||
|
.whatToDo("SQLite database is corrupt, restore database.db, .db-shm & .db-wal files from a backup, or repair the database: https://wordpress.semnaitik.com/repair-sqlite-database/.");
|
||||||
|
break;
|
||||||
case 1142:
|
case 1142:
|
||||||
context.related("Missing privilege")
|
context.related("Missing privilege")
|
||||||
.whatToDo("Grant the required privileges to your MySQL user (often 'REFERENCES' privilege is missing).");
|
.whatToDo("Grant the required privileges to your MySQL user (often 'REFERENCES' privilege is missing).");
|
||||||
|
Loading…
Reference in New Issue
Block a user