Skip to content

Docs - 404/405 Route Deprecation Notice #173

Description

@Rican7

Since #161 created a new style of HTTP error handling, it makes sense to deprecate the old style with a deprecation notice of some kind...

Maybe like so?:

trigger_error(
    'Use of 404/405 "routes" is deprecated. Use $klein->onHttpError() instead.',
    E_USER_DEPRECATED
);

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions