def METHOD_NAME(self) -> int:
    try:
        return self._ser.METHOD_NAME()
    except io.UnsupportedOperation:
        raise NotImplementedError(
            "fileno is not implemented using current CAN bus on this platform"
        )
    except Exception as exception:
        raise CanOperationError("Cannot fetch fileno") from exception