]> git.mxchange.org Git - friendica.git/blobdiff - src/DI.php
The "attach" field is now deprecated
[friendica.git] / src / DI.php
index 06397d0e235970bf97244633352b7b27d700106f..6461059a8392a4de3c86fc8dd36bf4b8c46b2934 100644 (file)
@@ -255,6 +255,14 @@ abstract class DI
                return self::$dice->create(Factory\Api\Mastodon\Emoji::class);
        }
 
+       /**
+        * @return Factory\Api\Mastodon\Error
+        */
+       public static function mstdnError()
+       {
+               return self::$dice->create(Factory\Api\Mastodon\Error::class);
+       }
+
        /**
         * @return Factory\Api\Mastodon\Field
         */