2Fake/devolo_plc_api

View on GitHub
devolo_plc_api/exceptions/feature.py

Summary

Maintainability
A
0 mins
Test Coverage
"""Exceptions that can occur when determining features."""


class FeatureNotSupported(Exception):
    """The feature is not supported by your device."""

    def __init__(self, feature: str) -> None:
        """Initialize error."""
        super().__init__(f"The device does not support {feature}.")