<?php
namespace ThurData\Servers\KerioEmail\App\Libs\Kerio\Components\Api\Exceptions;
use Throwable;

/**
 *
 * Created by PhpStorm.
 * User: ThurData
 * Date: 03.10.19
 * Time: 11:09
 * Class KerioApiException
 */
class KerioApiException extends \Exception
{

    const UNSUPORTED_CLASS  = 04001;
    const UNSUPORTED_CLIENT = 04002;

    public function __construct($params = [])
    {
        //todo debug log
        //$params['']
        parent::__construct($params['message'], $params['code'], $params['previous']);
    }

}