Outdated docstrings?

Bug #1839234 reported by Cyril Roelandt
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
castellan
New
Undecided
Unassigned

Bug Description

Looking at the documentation of castellan.key_manager.key_manager.KeyManager.delete, it seems that this method can raise the following exceptions: NotAuthorized and KeyError.

Its Barbican implementation may raise KeyManagerError or ManagedObjectNotFoundError.

Its Vault implementation may raise Forbidden or KeyManagerError (for a different reason than its Barbican counterpart) or ManagedObjectNotFoundError.

This happens for other methods of the same class (get, list...) and prevents the user from knowing what exceptions to expect when using them.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.