/usr/lib/python3/dist-packages/glue/exceptions.py is in glue-sprite 0.11.1-2build1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 | class GlueError(Exception):
"""Base Exception class for glue Errors."""
error_code = 999
class PILUnavailableError(GlueError):
"""Raised if some PIL decoder isn't available."""
error_code = 2
class ValidationError(GlueError):
"""Raised by formats or sprites while ."""
error_code = 3
class SourceImagesNotFoundError(GlueError):
"""Raised if a folder doesn't contain any valid image."""
error_code = 4
class NoSpritesFoldersFoundError(GlueError):
"""Raised if no sprites folders could be found."""
error_code = 5
|