netlify / zip-it-and-ship-it

Intelligently prepare Node.js Lambda functions for deployment

Home Page:https://www.npmjs.com/package/@netlify/zip-it-and-ship-it

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Annotate error when scheduled function is not correctly detected

danez opened this issue · comments

This error needs to be annotated similar to here

It would be nice to have a separate error class that we could use like this and then internally it would set the necessary properties.

throw new FunctionBundlingUserError(msg, functionName, runtime, bundler)