DEV Community 👩‍💻👨‍💻

Discussion on: Extension points in Hapi.js

Collapse
 
ocalde profile image
Oscar Calderon

Thanks for your post, pretty interesting! I came from KoaJS and I think this could be similar to middlewares in some way, for example if you want to implement some custom error handling to provide a graceful error response to the client. Do you know if it is possible to modify the response using a lifecycle interceptor?