X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=doc%2FAddonStorageBackend.md;h=c3a6d1639cb76fb1c587b8c737294038531d990c;hb=f842e7b81395803d4bd914175455d120837da312;hp=07cc020b824a0c5c0dafc941d3cd5d3ef8e099e5;hpb=8f09d81c9f48d30d26a7475762cbacdf782ed7a5;p=friendica.git diff --git a/doc/AddonStorageBackend.md b/doc/AddonStorageBackend.md index 07cc020b82..c3a6d1639c 100644 --- a/doc/AddonStorageBackend.md +++ b/doc/AddonStorageBackend.md @@ -140,18 +140,18 @@ abstract class StorageTest There are two intended types of exceptions for storages -### `ReferenceStorageExecption` +### `ReferenceStorageException` This storage exception should be used in case the caller tries to use an invalid references. This could happen in case the caller tries to delete or update an unknown reference. The implementation of the storage backend must not ignore invalid references. -Avoid throwing the common `StorageExecption` instead of the `ReferenceStorageException` at this particular situation! +Avoid throwing the common `StorageException` instead of the `ReferenceStorageException` at this particular situation! ### `StorageException` This is the common exception in case unexpected errors happen using the storage backend. -If there's a predecessor to this exception (e.g. you caught an exception and are throwing this execption), you should add the predecessor for transparency reasons. +If there's a predecessor to this exception (e.g. you caught an exception and are throwing this exception), you should add the predecessor for transparency reasons. Example: @@ -320,7 +320,7 @@ The file is `addon/samplestorage/samplestorage.php` */