This makes it easier to access the original exception later in the request cycle (e.g., other middleware or in custom error handlers).
This makes it easier to access the original exception later in the request cycle (e.g., other middleware or in custom error handlers).