Sentry integration with vanilla node http server

I can see official examples of sentry usage with express and koa, but I am not able to find examples of how to integrate sentry with node http.createServer

I would like to understand whether I can use errorHandler or requestHandler from node SDK, or do I need to write my own error handling functions and call sentry.captureException inside it ?