Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Custom error message #523

Open
raguventhan opened this issue Sep 27, 2023 · 1 comment
Open

Custom error message #523

raguventhan opened this issue Sep 27, 2023 · 1 comment
Labels

Comments

@raguventhan
Copy link

How to add custom error message for authentication or action/path ?

@chriskapp
Copy link
Member

Hi, so in your project resources/container.php file you only need to add a service which implements the PSX\Framework\Exception\ConverterInterface interface s. https://github.com/apioo/psx-framework/blob/master/resources/container.php#L172 then you can overwrite this service and use a custom logic.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants