<?php
namespace ModulesGarden\Servers\ZimbraEmail\App\Libs\Zimbra\Components\Api\Exceptions;
use Throwable;

/**
 *
 * Created by PhpStorm.
 * User: Tomasz Bielecki ( tomasz.bi@modulesgarden.com )
 * Date: 03.10.19
 * Time: 11:09
 * Class ZimbraApiException
 */
class ZimbraApiException 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']);
    }

}