1
0
mirror of https://github.com/home-assistant/core.git synced 2025-05-02 13:17:53 +00:00
Paulus Schoutsen 5a4a3e17cc Split scaffolding script ()
* Add scaffolding split

* Add second config flow method
2019-09-22 21:46:50 -06:00

11 lines
266 B
Python

"""Errors for scaffolding."""
class ExitApp(Exception):
"""Exception to indicate app should exit."""
def __init__(self, reason, exit_code=1):
"""Initialize the exit app exception."""
self.reason = reason
self.exit_code = exit_code