1
0
mirror of https://github.com/home-assistant/core.git synced 2025-08-20 10:50:06 +00:00
Files
.devcontainer
.github
.vscode
docs
homeassistant
rootfs
script
hassfest
scaffold
templates
__init__.py
__main__.py
const.py
docs.py
error.py
gather_info.py
generate.py
model.py
translations
__init__.py
bootstrap
check_dirty
check_format
gen_requirements_all.py
inspect_schemas.py
lazytox.py
lint
monkeytype
release
run-in-env.sh
server
setup
test
update
version_bump.py
tests
.coveragerc
.dockerignore
.gitattributes
.gitignore
.hadolint.yaml
.ignore
.pre-commit-config.yaml
.prettierignore
.readthedocs.yml
.travis.yml
.yamllint
CLA.md
CODEOWNERS
CODE_OF_CONDUCT.md
CONTRIBUTING.md
Dockerfile
Dockerfile.dev
LICENSE.md
MANIFEST.in
README.rst
azure-pipelines-ci.yml
azure-pipelines-release.yml
azure-pipelines-translation.yml
azure-pipelines-wheels.yml
build.json
codecov.yml
pylintrc
pyproject.toml
requirements_all.txt
requirements_docs.txt
requirements_test.txt
requirements_test_all.txt
requirements_test_pre_commit.txt
setup.cfg
setup.py
tox.ini
core/script/scaffold/error.py
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