Skip to content

Commit a2d2e5f

Browse files
committed
Elaborate on internal errors
1 parent b3db957 commit a2d2e5f

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

docs/preview/dev/internal_errors.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ Attempted to access index 3 within vector of size 3
1414

1515
> The issue is fixed in DuckDB v1.2.2 and newer versions.
1616
17-
After encountering an internal error, DuckDB enters a restricted mode where any further operations will result in the following error message:
17+
After encountering an internal error, DuckDB enters restricted mode”, where any further operations will result in the following error message:
1818

1919
```console
2020
FATAL Error:
@@ -24,4 +24,6 @@ The database must be restarted prior to being used again.
2424

2525
To continue working with the same database, start a new DuckDB session on the same database.
2626

27+
The reason DuckDB enters “restricted mode” is because the database is in an undefined state. Internal errors are by definition bugs that should never happen so the code path is never tested.
28+
2729
If you encounter an internal error, please consider creating a minimal reproducible example and submitting an issue to the [DuckDB issue tracker](https://github.com/duckdb/duckdb/issues/new/choose).

0 commit comments

Comments
 (0)