PHP Класс Exceptions\Data\NotFoundException
If the code in context is a service provider that queries a database, this would be the right exception to throw
and listen for. The controller on the other hand would catch this and throw a NotFoundException from the Http
namespace which would be converted to a standardized message in the front controller.
Показать файл
Открыть проект
Открытые методы
Метод |
Описание |
|
__construct ( $message = 'Data requested for cannot be found in the data source.', $code, $previous = null ) |
|
|
Описание методов
__construct()
публичный Метод
public __construct ( $message = 'Data requested for cannot be found in the data source.', $code, $previous = null ) |