chore: SessionNotFoundError only inherits form ValueError

Co-authored-by: Sasha Sobran <asobran@google.com>
PiperOrigin-RevId: 874545504
This commit is contained in:
Sasha Sobran
2026-02-24 04:42:24 -08:00
committed by Copybara-Service
parent dab80e4a8f
commit 8c0bd2034c
@@ -14,14 +14,11 @@
from __future__ import annotations
from .not_found_error import NotFoundError
class SessionNotFoundError(ValueError, NotFoundError):
class SessionNotFoundError(ValueError):
"""Raised when a session cannot be found.
Inherits from both ValueError (for backward compatibility) and NotFoundError
(for semantic consistency with the project's error hierarchy).
Inherits from ValueError (for backward compatibility).
"""
def __init__(self, message="Session not found."):