mirror of
https://github.com/ThatNotEasy/PlayReadyProxy-API.git
synced 2026-04-02 02:28:12 +00:00
26 lines
740 B
Python
26 lines
740 B
Python
class PyPlayreadyException(Exception):
|
|
"""Exceptions used by pyplayready."""
|
|
|
|
|
|
class InvalidPssh(PyPlayreadyException):
|
|
"""The Playready PSSH is invalid or empty."""
|
|
|
|
|
|
class InvalidInitData(PyPlayreadyException):
|
|
"""The Playready Cenc Header Data is invalid or empty."""
|
|
|
|
|
|
class DeviceMismatch(PyPlayreadyException):
|
|
"""The Remote CDMs Device information and the APIs Device information did not match."""
|
|
|
|
|
|
class InvalidLicense(PyPlayreadyException):
|
|
"""Unable to parse XMR License."""
|
|
|
|
|
|
class InvalidCertificateChain(PyPlayreadyException):
|
|
"""The BCert is not correctly formatted."""
|
|
|
|
|
|
class OutdatedDevice(PyPlayreadyException):
|
|
"""The PlayReady Device is outdated and does not support a specific operation.""" |