Skip to content

Middleware! #267

@alexneyler

Description

@alexneyler

Is your feature request related to a problem? Please describe.
ASP.NET has rich feature support for middleware of handling requests. This is extremely useful for things like adding global exception handling.

Describe the solution you'd like
I'd love a way to describe middleware that runs prior to executing a tool, similar to https://learn.microsoft.com/en-us/aspnet/core/fundamentals/middleware/?view=aspnetcore-9.0.

Specifically, I want to handle exceptions thrown by tools in a common location.

Describe alternatives you've considered
The alternative is to add exception handling for each tool, which is verbose.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions