mirror of
https://github.com/elyby/oauth2-server.git
synced 2024-11-15 17:56:14 +05:30
Updated thrown exceptions
This commit is contained in:
parent
7f6ca35628
commit
019dfa8836
@ -65,7 +65,7 @@ abstract class AbstractServer
|
|||||||
public function getStorage($obj)
|
public function getStorage($obj)
|
||||||
{
|
{
|
||||||
if (!isset($this->storages[$obj])) {
|
if (!isset($this->storages[$obj])) {
|
||||||
throw new Exception\ServerException(
|
throw new Exception\ServerErrorException(
|
||||||
'The `'.$obj.'` storage interface has not been registered with the server'
|
'The `'.$obj.'` storage interface has not been registered with the server'
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user