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.
저자: Mathieu Dumoulin aka CrazyCodr ([email protected])
상속: extends DataException, implements Exceptions\Tag\NotFoundException
파일 보기 프로젝트 열기: crazycodr/standard-exceptions

공개 메소드들

메소드 설명
__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 )