W3cubDocs

/Symfony 4.1

ResourceNotFoundException

class ResourceNotFoundException extends RuntimeException implements ExceptionInterface

The resource was not found.

This exception should trigger an HTTP 404 response in your application code.

© 2004–2017 Fabien Potencier
Licensed under the MIT License.
https://api.symfony.com/4.1/Symfony/Component/Routing/Exception/ResourceNotFoundException.html