BLUE
PHP 7.4.33
Path:
//usr/lib/python3/dist-packages/josepy
Run
Logout
Edit File
Size: 817 B
Close
//usr/lib/python3/dist-packages/josepy/errors.py
Text
Base64
"""JOSE errors.""" from typing import Any class Error(Exception): """Generic JOSE Error.""" class DeserializationError(Error): """JSON deserialization error.""" def __str__(self) -> str: return "Deserialization error: {0}".format( super().__str__()) class SerializationError(Error): """JSON serialization error.""" class UnrecognizedTypeError(DeserializationError): """Unrecognized type error. :ivar str typ: The unrecognized type of the JSON object. :ivar jobj: Full JSON object. """ def __init__(self, typ: str, jobj: Any) -> None: self.typ = typ self.jobj = jobj super().__init__(str(self)) def __str__(self) -> str: return '{0} was not recognized, full message: {1}'.format( self.typ, self.jobj)
Save
Close
Exit & Reset
Text mode: syntax highlighting auto-detects file type.
Directory Contents
Dirs: 1 × Files: 11
Delete Selected
Select All
Select None
Sort:
Name
Size
Modified
Enable drag-to-move
Name
Size
Perms
Modified
Actions
__pycache__
DIR
-
drwxr-xr-x
2023-04-05 06:35:49
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
b64.py
1.43 KB
lrw-r--r--
2021-09-27 21:36:40
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
errors.py
817 B
lrw-r--r--
2021-09-27 21:36:40
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
interfaces.py
7.63 KB
lrw-r--r--
2021-09-27 21:36:40
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
json_util.py
17.97 KB
lrw-r--r--
2021-09-27 21:36:40
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
jwa.py
8.89 KB
lrw-r--r--
2021-09-27 21:36:40
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
jwk.py
13.88 KB
lrw-r--r--
2021-09-27 21:36:40
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
jws.py
15.21 KB
lrw-r--r--
2021-09-27 21:36:40
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
magic_typing.py
564 B
lrw-r--r--
2021-09-27 21:36:40
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
py.typed
0 B
lrw-r--r--
2021-09-27 21:36:40
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
util.py
10.02 KB
lrw-r--r--
2021-09-27 21:36:40
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
__init__.py
1.67 KB
lrw-r--r--
2021-09-27 21:36:40
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
Zip Selected
If ZipArchive is unavailable, a
.tar
will be created (no compression).