final class NotFoundHttpException extends RuntimeException (View source)

Marks an application-level resource miss that HTTP error handling maps to a 404 response.

Methods

create(string $message = 'Resource not found.')

Creates the failure with a caller-facing diagnostic message.

Details

create

static NotFoundHttpException create(string $message = 'Resource not found.')

Creates the failure with a caller-facing diagnostic message.

Parameters

string $message

Return Value

NotFoundHttpException