Skip to content
This repository was archived by the owner on Jul 31, 2022. It is now read-only.

IllegalArgumentException on root handler in not root context #23

Closed
2 tasks done
Katsute opened this issue Apr 16, 2020 · 0 comments
Closed
2 tasks done

IllegalArgumentException on root handler in not root context #23

Katsute opened this issue Apr 16, 2020 · 0 comments
Assignees
Labels
optimization Optimizations

Comments

@Katsute
Copy link
Member

Katsute commented Apr 16, 2020

Prerequisites

If all checks are not passed then the request will be closed

  • I have checked that no other similar feature request already exists
  • The feature request makes sense for the project

Proposal

Describe the feature that should be added
Throw an illegal argument exception if the root handler is added to a context that isn't /

Reasoning

Explain why this feature should be added
This handler is only intended and functional for the / context.

@Katsute Katsute added the optimization Optimizations label Apr 16, 2020
@Katsute Katsute self-assigned this Apr 16, 2020
Katsute added a commit that referenced this issue Apr 16, 2020
@Katsute Katsute mentioned this issue Apr 16, 2020
5 tasks
Katsute added a commit that referenced this issue Apr 16, 2020
Co-authored-by: Katsute <[email protected]>
@Katsute Katsute closed this as completed Apr 16, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
optimization Optimizations
Projects
None yet
Development

No branches or pull requests

1 participant