summaryrefslogtreecommitdiff
path: root/src/Exceptions/Handlers/HandlerInterface.php
blob: 838fee4a5281f92f33529629c865d924dc892cbb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
<?php

namespace Engelsystem\Exceptions\Handlers;

use Engelsystem\Http\Request;
use Throwable;

interface HandlerInterface
{
    /**
     * @param Request   $request
     * @param Throwable $e
     */
    public function render($request, Throwable $e);

    /**
     * @param Throwable $e
     */
    public function report(Throwable $e);
}