Skip to content

Commit 37fa359

Browse files
docs(kernel): clarify missing-file exception contract
Signed-off-by: Aakash Saravanan <aakash.saravanan@databricks.com>
1 parent b47f25e commit 37fa359

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

‎src/databricks/sql/backend/kernel/_errors.py‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,7 @@
1313
- Anything else — ``TypeError`` / ``OverflowError`` /
1414
``ValueError`` from PyO3 argument conversion, or arbitrary
1515
extension-internal Python errors. These would otherwise propagate
16-
raw to connector callers, breaking the DB-API contract that says
17-
"only PEP 249 exception types cross the boundary". Wrapped in
16+
raw to connector callers. Wrapped in
1817
``OperationalError`` here.
1918
2019
Local missing transfer files use the built-in ``FileNotFoundError`` class;

0 commit comments

Comments
 (0)