Skip to content

Improve exception when route cannot be matched #7

@Fowerld

Description

@Fowerld

throw new Exception('Unable to route request: no route matched requested URL', 404);

The idea would be to output the requested URL.

throw new Exception(sprintf('Unable to route request: no route matched requested URL \'%s\'', (string) $app->getRequest()->getUri()), 404);

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions