summaryrefslogtreecommitdiff
path: root/src/Exceptions/Handlers/HandlerInterface.php
blob: 9de33e1fb9989727a871461fcc939fc3b27c5679 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
<?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
     * @return
     */
    public function report(Throwable $e);
}