Skip to content
This repository was archived by the owner on Feb 1, 2026. It is now read-only.
This repository was archived by the owner on Feb 1, 2026. It is now read-only.

More precise exceptions #17

@erickskrauch

Description

@erickskrauch

My suggestion is to organize a more precise exceptions for JWT verification.

For example: \Emarref\Jwt\Verification\ExpirationVerifier:45 should throw ExpiredException, which should be inherited from base \Emarref\Jwt\Exception\VerificationException. And so with all verifiers.

I can prepare a PR, if you think it is necessary in the main repository (in my project it needed).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions