NotionException::class will be thrown if the Notion API throws any kind of error.
- You have reached the rate limit of the API
- Invalid JSON was submitted or the parameters are not valid
You can check the whole list of errors here: https://developers.notion.com/reference/errors
HandlingException::class is thrown when some error or misconfiguration occured within the package.
- No valid JSON or array is provided during property or block creation
- A parameter targeted for the Notion API is missing or not valid