Skip to content

Conversation

@crynobone
Copy link
Member

application configuration.

This allows the following usage to work instead having to use laravel/docs#10912

use Illuminate\Foundation\Configuration\Exceptions;

->withExceptions(function (Exceptions $exceptions): void {
    // Truncate request exception messages to 240 characters...
    $exceptions->truncateRequestExceptionsAt(240);

    // Disable request exception message truncation...
    $exceptions->dontTruncateRequestExceptions();
})

application configuration.

Signed-off-by: Mior Muhammad Zaki <[email protected]>
@crynobone crynobone closed this Dec 10, 2025
@crynobone crynobone deleted the 13/configurations branch December 10, 2025 09:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants