We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
the getCookieLocal, getQueryLocale, getHeaderLocale always throw if no local found
i want to make a logic that check firstly for the query and then the cookies or the header
how can i achieve that without a long chain of tryandcatch
provide an other functions like tryQueryLocale, tryHeaderLocale that returns null or undefined and don't throw anything
make an option to the current functions to make it throw or not an error
No response
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Clear and concise description of the problem
the getCookieLocal, getQueryLocale, getHeaderLocale always throw if no local found
i want to make a logic that check firstly for the query and then the cookies or the header
how can i achieve that without a long chain of tryandcatch
Suggested solution
provide an other functions like tryQueryLocale, tryHeaderLocale
that returns null or undefined and don't throw anything
make an option to the current functions to make it throw or not an error
Alternative
No response
Additional context
No response
Validations
The text was updated successfully, but these errors were encountered: