1
0
mirror of https://github.com/flarum/core.git synced 2025-07-20 16:21:18 +02:00
This commit is contained in:
Franz Liedke
2020-03-06 12:45:35 +01:00
parent a1a2b35221
commit 774dd10bf5

View File

@@ -41,10 +41,10 @@ class ErrorHandling implements ExtenderInterface
* Define the internal error type for a specific exception class. * Define the internal error type for a specific exception class.
* *
* If the exception class is under your control, you should prefer having * If the exception class is under your control, you should prefer having
* the exception implement our {@see \Flarum\Fondation\KnownError} interface * the exception implement our {@see \Flarum\Foundation\KnownError}
* and define the type there. This method should only be used for third- * interface and define the type there. This method should only be used for
* party exceptions, e.g. when integrating another package that already * third-party exceptions, e.g. when integrating another package that
* defines its own exception classes. * already defines its own exception classes.
*/ */
public function type(string $exceptionClass, string $errorType) public function type(string $exceptionClass, string $errorType)
{ {