title: How to throw Exception in Databricks?
body: <p>I want my Databricks notebook to fail if a certain condition is satisfied. Right now I am using <code>dbutils.notebook.exit()</code> but it does not cause the notebook to fail and I will get mail like notebook run is successful. How can I make my notebook fail?</p>