Download deepgram/errors.py from UnleashX/telephony: direct link, hf CLI and curl.
- Browser
- Download file 519 Bytes
-
https://huggingface.co/spaces/UnleashX/telephony/resolve/main/deepgram/errors.py
- Command line
-
hf download hf://spaces/UnleashX/telephony/deepgram/errors.py
-
curl -L -o errors.py https://huggingface.co/spaces/UnleashX/telephony/resolve/main/deepgram/errors.py
519 Bytes
| # Copyright 2023-2024 Deepgram SDK contributors. All Rights Reserved. | |
| # Use of this source code is governed by a MIT license that can be found in the LICENSE file. | |
| # SPDX-License-Identifier: MIT | |
| class DeepgramApiKeyError(Exception): | |
| """ | |
| Base class for exceptions raised for a missing Deepgram API Key. | |
| Attributes: | |
| message (str): The error message describing the exception. | |
| """ | |
| def __init__(self, message: str): | |
| super().__init__(message) | |
| self.name = "DeepgramApiKeyError" | |