37 lines
861 B
Python
37 lines
861 B
Python
# Copyright (c) Microsoft. All rights reserved.
|
|
|
|
|
|
from semantic_kernel.exceptions.kernel_exceptions import KernelException
|
|
|
|
|
|
class MemoryConnectorException(KernelException):
|
|
"""Base class for all memory connector exceptions."""
|
|
|
|
pass
|
|
|
|
|
|
class MemoryConnectorConnectionException(MemoryConnectorException):
|
|
"""An error occurred while connecting to the memory connector."""
|
|
|
|
pass
|
|
|
|
|
|
class MemoryConnectorInitializationError(MemoryConnectorException):
|
|
"""An error occurred while initializing the memory connector."""
|
|
|
|
pass
|
|
|
|
|
|
class MemoryConnectorResourceNotFound(MemoryConnectorException):
|
|
"""The requested resource was not found in the memory connector."""
|
|
|
|
pass
|
|
|
|
|
|
__all__ = [
|
|
"MemoryConnectorConnectionException",
|
|
"MemoryConnectorException",
|
|
"MemoryConnectorInitializationError",
|
|
"MemoryConnectorResourceNotFound",
|
|
]
|