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

Better error message for saving non-cacheable Injector #425

Open
koriym opened this issue Dec 13, 2023 · 0 comments
Open

Better error message for saving non-cacheable Injector #425

koriym opened this issue Dec 13, 2023 · 0 comments

Comments

@koriym
Copy link
Member

koriym commented Dec 13, 2023

インジェクターがキャッシュできない時のエラー表示ができないか検討。

trigger_error('Failed to verify the injector cache. See https://github.com/bearsunday/BEAR.Package/issues/418', E_USER_WARNING);

・nullが返ってきた時にはストレージの問題か、値がシリアライズできないかのどちらかが原因。シリアライズ不可の場合にはシリアラズを行った時のエラーメッセージを表示したい。

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

No branches or pull requests

1 participant