mirror of
https://github.com/Noettore/fattureCCSR.git
synced 2025-10-15 03:36:39 +02:00
8 lines
200 B
Python
8 lines
200 B
Python
"""Define Python user-defined exceptions"""
|
|
|
|
class Error(Exception):
|
|
"""Base class for other exceptions"""
|
|
|
|
class WrongFileExtension(Error):
|
|
"""Raised when a file extension is not accepted"""
|