fix: Exception rework
Description Supersedes #8470 Closes #4358
- add new Exception classes in
CodeIgniter\ExceptionsLogicExceptionRuntimeExceptionBadFunctionCallExceptionBadMethodCallExceptionInvalidArgumentException
- add domain-level
ExceptionInterfaceto catch all Exceptions in the domainFilesHTTPRouter
- all Exception classes that the framework throws
- implement
CodeIgniter\Exceptions\ExceptionInterface - extend
\Exception(not\Error) - extend
\LogicExceptionor\RuntimeException
- implement
Checklist:
- [x] Securely signed commits
- [x] Component(s) with PHPDoc blocks, only if necessary or adds value
- [ ] Unit testing, with >80% coverage
- [x] User guide updated
- [x] Conforms to style guide
Looks good to me.
Updated code and added user guide.
:wave: Hi, @kenjis!
We detected conflicts in your PR against the base branch :speak_no_evil:
You may want to sync :arrows_counterclockwise: your branch with upstream!
Ref: Syncing Your Branch
:wave: Hi, @kenjis!
We detected conflicts in your PR against the base branch :speak_no_evil:
You may want to sync :arrows_counterclockwise: your branch with upstream!
Ref: Syncing Your Branch
UG changes look good, thanks for the thorough coverage.
@MGatner Thanks for the review!