mirror of
https://github.com/stijndcl/didier.git
synced 2026-04-07 23:55:46 +02:00
Deleting bookmarks, fix bug in menus
This commit is contained in:
parent
f70736b4d5
commit
152f84ed1c
5 changed files with 72 additions and 6 deletions
|
|
@ -1,10 +1,12 @@
|
|||
from .constraints import DuplicateInsertException, ForbiddenNameException
|
||||
from .currency import DoubleNightly, NotEnoughDinks
|
||||
from .forbidden import Forbidden
|
||||
from .not_found import NoResultFoundException
|
||||
|
||||
__all__ = [
|
||||
"DuplicateInsertException",
|
||||
"ForbiddenNameException",
|
||||
"Forbidden",
|
||||
"DoubleNightly",
|
||||
"NotEnoughDinks",
|
||||
"NoResultFoundException",
|
||||
|
|
|
|||
5
database/exceptions/forbidden.py
Normal file
5
database/exceptions/forbidden.py
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
__all__ = ["Forbidden"]
|
||||
|
||||
|
||||
class Forbidden(Exception):
|
||||
"""Exception raised when trying to access a resource that isn't yours"""
|
||||
Loading…
Add table
Add a link
Reference in a new issue