Coverage for pyeditorjs/exceptions.py: 100%
4 statements
« prev ^ index » next coverage.py v7.6.4, created at 2024-10-31 13:29 +0100
« prev ^ index » next coverage.py v7.6.4, created at 2024-10-31 13:29 +0100
1__all__ = [
2 "EditorJsException",
3 "EditorJsParseError",
4 "EditorJSUnsupportedBlock",
5]
8class EditorJsException(Exception):
9 """
10 Base exception
11 """
14class EditorJsParseError(EditorJsException):
15 """Raised when a parse error occurs (example: the JSON data has invalid or malformed content)."""
18class EditorJSUnsupportedBlock(EditorJsException):
19 """Raised when strict=True and using an unknown block type."""