[Xapian-tickets] [Xapian] #773: Explicit DatabaseNotFoundError exception

Xapian nobody at xapian.org
Thu Dec 20 20:57:11 GMT 2018


#773: Explicit DatabaseNotFoundError exception
--------------------------+--------------------------
 Reporter:  Kronuz        |             Owner:  olly
     Type:  enhancement   |            Status:  new
 Priority:  normal        |         Milestone:  1.5.0
Component:  Library API   |           Version:
 Severity:  normal        |        Resolution:
 Keywords:  GoodFirstBug  |        Blocked By:
 Blocking:                |  Operating System:  All
--------------------------+--------------------------
Changes (by olly):

 * keywords:   => GoodFirstBug
 * component:  Other => Library API
 * milestone:   => 1.5.0


Old description:

> Please add an explicit exception for when a database doesn't exist:
> DatabaseNotFoundError (instead of just DatabaseOpeningError)
>
> Such DatabaseNotFoundError could (and maybe should) inherit from
> DatabaseOpeningError for backward compatibility.

New description:

 Please add an explicit exception for when a database doesn't exist:
 `DatabaseNotFoundError` (instead of just `DatabaseOpeningError`)

 Such `DatabaseNotFoundError` could (and maybe should) inherit from
 `DatabaseOpeningError` for backward compatibility.

--

--
Ticket URL: <https://trac.xapian.org/ticket/773#comment:2>
Xapian <https://xapian.org/>
Xapian



More information about the Xapian-tickets mailing list