chore: import upstream snapshot with attribution
This commit is contained in:
@@ -0,0 +1,36 @@
|
||||
# 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",
|
||||
]
|
||||
Reference in New Issue
Block a user