update bots
This commit is contained in:
16
.venv/lib/python3.12/site-packages/faker/exceptions.py
Normal file
16
.venv/lib/python3.12/site-packages/faker/exceptions.py
Normal file
@@ -0,0 +1,16 @@
|
||||
class BaseFakerException(Exception):
|
||||
"""The base exception for all Faker exceptions."""
|
||||
|
||||
|
||||
class UniquenessException(BaseFakerException):
|
||||
"""To avoid infinite loops, after a certain number of attempts,
|
||||
the "unique" attribute of the Proxy will throw this exception.
|
||||
"""
|
||||
|
||||
|
||||
class UnsupportedFeature(BaseFakerException):
|
||||
"""The requested feature is not available on this system."""
|
||||
|
||||
def __init__(self, msg: str, name: str) -> None:
|
||||
self.name = name
|
||||
super().__init__(msg)
|
||||
Reference in New Issue
Block a user