Using custom error handling if a serverless function has crashed
When code is executed at request-time rather than at build time, and if it influences what visitors to your site see, then it is vitally important that you can control what happens should that code encounter an error. Displaying a message like “a serverless function has crashed” or a cryptic HTTP error code makes for…