From 520d6decac1176973e3b59a2e7700d1c9a2c9e31 Mon Sep 17 00:00:00 2001 From: Ivan Kravets Date: Mon, 27 Apr 2020 23:42:02 +0300 Subject: [PATCH] Nominate some exceptions to UserSideException --- platformio/exception.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/platformio/exception.py b/platformio/exception.py index 913bc137..d9b5e254 100644 --- a/platformio/exception.py +++ b/platformio/exception.py @@ -177,7 +177,7 @@ class NotGlobalLibDir(UserSideException): ) -class InvalidLibConfURL(PlatformioException): +class InvalidLibConfURL(UserSideException): MESSAGE = "Invalid library config URL '{0}'" @@ -242,12 +242,12 @@ class BuildScriptNotFound(PlatformioException): MESSAGE = "Invalid path '{0}' to build script" -class InvalidSettingName(PlatformioException): +class InvalidSettingName(UserSideException): MESSAGE = "Invalid setting with the name '{0}'" -class InvalidSettingValue(PlatformioException): +class InvalidSettingValue(UserSideException): MESSAGE = "Invalid value '{0}' for the setting '{1}'" @@ -257,7 +257,7 @@ class InvalidJSONFile(PlatformioException): MESSAGE = "Could not load broken JSON: {0}" -class CIBuildEnvsEmpty(PlatformioException): +class CIBuildEnvsEmpty(UserSideException): MESSAGE = ( "Can't find PlatformIO build environments.\n" @@ -295,7 +295,7 @@ class CygwinEnvDetected(PlatformioException): ) -class TestDirNotExists(PlatformioException): +class TestDirNotExists(UserSideException): MESSAGE = ( "A test folder '{0}' does not exist.\nPlease create 'test' "