<?php

declare(strict_types=1);

namespace ImovelZapAi\Publishing\Connectors\GroupOlx\Domain\Exceptions;

use RuntimeException;

final class GroupOlxConnectorException extends RuntimeException
{
    public static function notImplemented(string $capability): self
    {
        return new self("Grupo OLX connector: {$capability} ainda não implementado.");
    }

    public static function invalidFeed(string $reason): self
    {
        return new self("Feed VRSync inválido para o Grupo OLX: {$reason}");
    }
}
