-
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add no-reply
- Loading branch information
Showing
13 changed files
with
547 additions
and
300 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
class ImageNotFoundError(FileNotFoundError): | ||
"""Exception raised when image not exists. | ||
Attributes: | ||
message -- explanation of the error | ||
""" | ||
|
||
def __init__(self, message="Image not exists in a path!"): | ||
self.message = message | ||
super().__init__(self.message) | ||
|
||
|
||
class AudioNotFoundError(FileNotFoundError): | ||
"""Exception raised when audio not exists. | ||
Attributes: | ||
message -- explanation of the error | ||
""" | ||
|
||
def __init__(self, message="Audio not exists in a path!"): | ||
self.message = message | ||
super().__init__(self.message) | ||
|
||
|
||
class OutboundSpamException(Exception): | ||
"""Exception raised when Account need to verify. | ||
Attributes: | ||
message -- explanation of the error | ||
""" | ||
|
||
def __init__(self, message="Please Login To Your Account And Verify it."): | ||
self.message = message | ||
super().__init__(self.message) |
Oops, something went wrong.