build 039: complete Quotes Feed migration foundation
This commit is contained in:
18
app/src/storage/exceptions.py
Normal file
18
app/src/storage/exceptions.py
Normal file
@@ -0,0 +1,18 @@
|
||||
# app/src/storage/exceptions.py
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
|
||||
# Базовая ошибка storage-слоя.
|
||||
class StorageError(Exception):
|
||||
"""Base storage layer error."""
|
||||
|
||||
|
||||
# Ошибка хранилища справочника инструментов.
|
||||
class InstrumentStoreError(StorageError):
|
||||
"""Instrument store contract or operation error."""
|
||||
|
||||
|
||||
# Ошибка хранилища канонических котировок.
|
||||
class QuoteStoreError(StorageError):
|
||||
"""Quote store contract or operation error."""
|
||||
Reference in New Issue
Block a user