Cat Feeder
1.0.0
The Cat feeder project
Loading...
Searching...
No Matches
favicon_error_class.py
Go to the documentation of this file.
1
"""
2
# +==== BEGIN CatFeeder =================+
3
# LOGO:
4
# ..............(..../\\
5
# ...............)..(.')
6
# ..............(../..)
7
# ...............\\(__)|
8
# Inspired by Joan Stark
9
# source https://www.asciiart.eu/
10
# animals/cats
11
# /STOP
12
# PROJECT: CatFeeder
13
# FILE: favicon_error_class.py
14
# CREATION DATE: 12-01-2026
15
# LAST Modified: 21:6:1 12-01-2026
16
# DESCRIPTION:
17
# This is the backend server in charge of making the actual website work.
18
# /STOP
19
# COPYRIGHT: (c) Cat Feeder
20
# PURPOSE: File in charge of containing the custom errors that can be raised by the favicon classes
21
# // AR
22
# +==== END CatFeeder =================+
23
"""
24
25
26
class
FaviconRuntimeError
(RuntimeError):
27
"""Base class for favicon-related errors.
28
"""
29
30
31
class
FaviconDatabaseError
(
FaviconRuntimeError
):
32
"""Raised when there is an error interacting with the database for favicon operations.
33
"""
34
35
36
class
FaviconNoImageReducerError
(
FaviconRuntimeError
):
37
"""Raised when there is no ImageReducer instance available in the runtime manager.
38
"""
39
40
41
class
FaviconImageUploadError
(
FaviconRuntimeError
):
42
"""Raised when there is an error uploading an image to the storage bucket.
43
"""
44
45
46
class
FaviconImagePathUpdateError
(
FaviconRuntimeError
):
47
"""Raised when there is an error updating the image path in the database.
48
"""
49
50
51
class
FaviconValueError
(ValueError):
52
"""Base class for favicon-related value errors.
53
"""
backend.src.libs.favicon.favicon_error_class.FaviconDatabaseError
Definition
favicon_error_class.py:31
backend.src.libs.favicon.favicon_error_class.FaviconImagePathUpdateError
Definition
favicon_error_class.py:46
backend.src.libs.favicon.favicon_error_class.FaviconImageUploadError
Definition
favicon_error_class.py:41
backend.src.libs.favicon.favicon_error_class.FaviconNoImageReducerError
Definition
favicon_error_class.py:36
backend.src.libs.favicon.favicon_error_class.FaviconRuntimeError
Definition
favicon_error_class.py:26
backend.src.libs.favicon.favicon_error_class.FaviconValueError
Definition
favicon_error_class.py:51
backend
src
libs
favicon
favicon_error_class.py
Generated on Wed Feb 18 2026 18:56:29 for Cat Feeder by
1.12.0