Answer
An interceptor wraps a route handler and can run logic before and after execution. Common uses include timing, logging, and response transformation.
Explanation
Keep authorization in guards and input validation in pipes. Interceptors should not hide errors or silently change domain behavior.
Example
Request → interceptor → handler → interceptor → response