Projekt

Obecné

Profil

« Předchozí | Další » 

Revize 210c9808

Přidáno uživatelem David Friesecký před téměř 4 roky(ů)

Re #8884 - Deleted constants of exception messages

Zobrazit rozdíly:

src/dao/private_key_repository.py
8 8
from src.constants import *
9 9
from src.utils.logger import Logger
10 10

  
11
INTEGRITY_ERROR_MSG = "Database relational integrity corrupted."
12
PROGRAMMING_ERROR_MSG = "Exception raised for programming errors (etc. SQL statement)."
13
OPERATIONAL_ERROR_MSG = "Exception raised for errors that are related to the database’s operation."
14
NOT_SUPPORTED_ERROR_MSG = "Method or database API was used which is not supported by the database"
15
DATABASE_ERROR_MSG = "Unknown exception that are related to the database."
16
ERROR_MSG = "Unknown exception."
17

  
18 11

  
19 12
class PrivateKeyRepository:
20 13

  

Také k dispozici: Unified diff