File: exceptions.py

package info (click to toggle)
python-fullykiosk 0.0.14-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 112 kB
  • sloc: python: 163; makefile: 6
file content (10 lines) | stat: -rw-r--r-- 347 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
class FullyKioskError(Exception):
    """Raised when Fully Kiosk Browser API request ended in error.
    Attributes:
        status_code - error code returned by Fully Kiosk Browser
        status - more detailed description
    """

    def __init__(self, status_code, status):
        self.status_code = status_code
        self.status = status