You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Igor Sapego (Jira)" <ji...@apache.org> on 2024/09/17 08:35:00 UTC

[jira] [Updated] (IGNITE-23218) DB API Driver 3: Improve the error raising

     [ https://issues.apache.org/jira/browse/IGNITE-23218?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Igor Sapego updated IGNITE-23218:
---------------------------------
    Summary: DB API Driver 3: Improve the error raising  (was: DB API Driver 3: Improve the error handling)

> DB API Driver 3: Improve the error raising
> ------------------------------------------
>
>                 Key: IGNITE-23218
>                 URL: https://issues.apache.org/jira/browse/IGNITE-23218
>             Project: Ignite
>          Issue Type: Improvement
>          Components: platforms, python
>            Reporter: Igor Sapego
>            Assignee: Igor Sapego
>            Priority: Major
>
> Currently, in most places of our Driver, we just set PyExc_RuntimeError when error is occurred,  no matter what is the error. PEP 249 however [mandates a number of exception types|https://peps.python.org/pep-0249/#exceptions] to be used in different cases. Make sure we use proper error types.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)