mirror of
https://github.com/maxdorninger/MediaManager.git
synced 2026-04-25 10:15:44 +02:00
add proper http error codes
This commit is contained in:
@@ -1,6 +1,8 @@
|
||||
class MediaAlreadyExists(ValueError):
|
||||
"""Raised when a show already exists"""
|
||||
|
||||
pass
|
||||
|
||||
|
||||
class NotFoundError(Exception):
|
||||
"""Custom exception for when an entity is not found."""
|
||||
|
||||
Reference in New Issue
Block a user