Skip to content

Commit 592487b

Browse files
committed
Add exception aware authorizer interface
1 parent 46e1c44 commit 592487b

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
<?php
2+
3+
/*
4+
* This file is part of the Active Collab Authentication project.
5+
*
6+
* (c) A51 doo <[email protected]>. All rights reserved.
7+
*/
8+
9+
namespace ActiveCollab\Authentication\Authorizer\ExceptionAwareAware;
10+
11+
use Exception;
12+
use Throwable;
13+
14+
/**
15+
* @package ActiveCollab\Authentication\Authorizer\ExceptionAwareAware
16+
*/
17+
interface ExceptionAwareInterface
18+
{
19+
/**
20+
* @param Throwable|Exception $error_or_exception
21+
* @return mixed
22+
*/
23+
public function handleException($error_or_exception);
24+
}

0 commit comments

Comments
 (0)