1
0
mirror of https://github.com/home-assistant/core.git synced 2025-05-22 06:47:07 +00:00
Paulus Schoutsen 425c97626a
Consolidate translation script ()
* Consolidate translation script

* Remove commented code
2020-04-09 14:13:20 -07:00

11 lines
267 B
Python

"""Errors for translations."""
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