mirror of
https://github.com/not-lucky/GeminiKeyManagement.git
synced 2025-12-06 08:44:01 +05:30
11 lines
331 B
Python
11 lines
331 B
Python
"""
|
|
Custom exceptions for the Gemini Key Management script.
|
|
"""
|
|
|
|
class TermsOfServiceNotAcceptedError(Exception):
|
|
"""Raised when the Terms of Service for a required API have not been accepted."""
|
|
def __init__(self, message, url):
|
|
self.message = message
|
|
self.url = url
|
|
super().__init__(self.message)
|