application
application copied to clipboard
added RejectedRequestException
- bug fix? yes (discussion https://github.com/nette/application/commit/212ec4301be07d6ead4a09cc935b4d953bd3e602#commitcomment-19783900)
- new feature? yes
- BC break? no
In case that framework rejects request, it throws RejectedRequestException instead of BadRequestException or BadSignalException. The BadSignalException should be deprecated in future.
The main reason is to reach finer granularity for BadRequestException exception.
The naming should be discussed. Is better RejectRequestException or RejectedRequestException? What about constants in RejectedRequestException?
ping @JanTvrdik @matej21