<?php
namespace EasyChat\Library\Catalog;








class CatalogSearchUnavailableException extends \RuntimeException {

     
    private $provider;

    public function __construct(string $provider, \Throwable $previous = null) {
        $this->provider = strtolower(trim($provider));
        parent::__construct('catalog_search_unavailable', 0, $previous);
    }

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