Skip to content

Commit 9bd86a1

Browse files
[FIX] Init: Move error page responders to src
1 parent 776b5c2 commit 9bd86a1

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

components/ILIAS/Init/classes/ErrorHandling/Http/ErrorPageResponder.php renamed to components/ILIAS/Init/src/ErrorHandling/Http/ErrorPageResponder.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,9 +35,9 @@
3535
*
3636
* Use this when the DI container and all ILIAS services are available.
3737
* The consumer MUST wrap the main logic in a try-catch and call
38-
* {@see respond()} in the catch block for expected errors (e.g. routing
38+
* {@see respond()} in the catch block for expected errors (e.g., routing
3939
* failures). For unexpected errors during bootstrap, use
40-
* {@see \ILIAS\Init\ErrorHandling\Http\PlainTextFallbackResponder} instead.
40+
* {@see PlainTextFallbackResponder} instead.
4141
*
4242
* The error message is rendered via MessageBox::failure(). If a back target
4343
* (Data\Link) is provided, it is embedded into the MessageBox via withButtons().

components/ILIAS/Init/classes/ErrorHandling/Http/PlainTextFallbackResponder.php renamed to components/ILIAS/Init/src/ErrorHandling/Http/PlainTextFallbackResponder.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
* so that Whoops / the developer can inspect the full stack trace.
4040
*
4141
* This responder always works: it uses only PHP built-ins (headers, echo,
42-
* error_log, exit). Prefer {@see \ILIAS\Init\ErrorHandling\Http\ErrorPageResponder}
42+
* error_log, exit). Prefer {@see ErrorPageResponder}
4343
* when the DIC is available, as it renders a proper ILIAS page with the
4444
* UI framework.
4545
*/

0 commit comments

Comments
 (0)