<?php
namespace Fifa\ConnectId\Sdk\ExceptionHandler\Handler;

use Fifa\ConnectId\Sdk\Api\ApiException;
use Fifa\ConnectId\Sdk\Exception\FifaConnectIdException;

/**
 * Interface HandlerInterface
 * @package Fifa\ConnectId\Sdk\ExceptionHandler\Handler
 */
interface HandlerInterface
{
    /**
     * Handler method for ApiExceptions
     *
     * @param ApiException $e
     * @return FifaConnectIdException|null
     */
    public function handle(ApiException $e);
}