This commit is contained in:
Franz Liedke
2020-03-06 12:45:35 +01:00
parent 4413848c11
commit 9f8ee7dc94

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)
{ {