File: exceptions.py

package info (click to toggle)
python-fullykiosk 0.0.15-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 116 kB
  • sloc: python: 185; makefile: 2
file content (10 lines) | stat: -rw-r--r-- 347 bytes parent folder | download | duplicates (2)
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