<?php

declare(strict_types=1);

namespace App\Business\Integration\Exceptions;

use RuntimeException;

final class IntegrationGovernanceException extends RuntimeException
{
    public function __construct(
        private readonly string $errorType,
        string $message,
    ) {
        parent::__construct($message);
    }

    public function errorType(): string
    {
        return $this->errorType;
    }
}