mirror of
https://github.com/friendica/friendica
synced 2025-04-26 09:50:15 +00:00
- Moved the description for the specific storage exception first
- Introduced exceptions for try to get invalid storage - ReferenceStorageException now extends StorageException
This commit is contained in:
parent
813db7956f
commit
57438afbb3
4 changed files with 42 additions and 31 deletions
|
@ -23,6 +23,9 @@ namespace Friendica\Model\Storage;
|
|||
|
||||
/**
|
||||
* Interface for selectable storage backends
|
||||
*
|
||||
* Used for storages with CRUD functionality, mainly used for user data (e.g. photos, attachements).
|
||||
* There's only one active, selectable storage possible and can be selected by the current administrator
|
||||
*/
|
||||
interface ISelectableStorage extends IStorage
|
||||
{
|
||||
|
|
|
@ -21,11 +21,9 @@
|
|||
|
||||
namespace Friendica\Model\Storage;
|
||||
|
||||
use Exception;
|
||||
|
||||
/**
|
||||
* Storage Exception in case of invalid references
|
||||
*/
|
||||
class ReferenceStorageException extends Exception
|
||||
class ReferenceStorageException extends StorageException
|
||||
{
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue