- 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:
@@ -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
|
||||
{
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user