Files
jeb-utils/src/jeb_utils/exceptions.py
T

52 lines
1.7 KiB
Python

# Copyright 2026 jCloud Services GbR
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# https://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
__all__ = [
'UnknownProtocolError',
'ProtocolSyntaxError',
'CRCInvalidError',
'UnknownCreationError',
'UnknownSubscribingError',
'UnknownUnsubscribingError',
'TopicNotFoundError',
'TopicExistsError',
'TopicPartitionExistsError',
'TopicPartitionNotFoundError',
'TopicNotSubscribedError',
'InvalidTopicNameError',
'FetchStartOutOfRangeError',
'FormatError',
'CertificateNotTrustedError',
]
class UnknownProtocolError(Exception): ...
class ProtocolSyntaxError(Exception): ...
class CRCInvalidError(Exception): ...
class UnknownCreationError(Exception): ...
class UnknownSubscribingError(Exception): ...
class UnknownUnsubscribingError(Exception): ...
class TopicNotFoundError(Exception): ...
class TopicExistsError(Exception): ...
class TopicPartitionExistsError(Exception): ...
class TopicPartitionNotFoundError(Exception): ...
class TopicNotSubscribedError(Exception): ...
class InvalidTopicNameError(Exception): ...
class FetchStartOutOfRangeError(Exception): ...
class FormatError(Exception): ...
class CertificateNotTrustedError(Exception): ...