Set up a Neptune error handling function#
Most Neptune errors inherit from the NeptuneException
class.
If you want to activate a function when a Neptune exception is raised, try using the following in your function definition:
This way, you can set up your workflow to, for example, send a Slack notification when a Neptune error occurs.