Custom Exceptions
The term_img.exceptions
module defines the following:
- exception term_img.exceptions.TermImageException
Bases:
Exception
Package exception baseclass
- exception term_img.exceptions.URLNotFoundError
Bases:
FileNotFoundError
,term_img.exceptions.TermImageException
Raised for 404 errors
- exception term_img.exceptions.InvalidSize
Bases:
ValueError
,term_img.exceptions.TermImageException
Raised when the given/set image render size is larger than the terminal size