Report about outdated 99-platformio-udev.rules // Resolve #1823

This commit is contained in:
Ivan Kravets committed 2018-10-12 19:35:58 +03:00
1 parent b77fb79cd6
commit ff8fefb797
7 files changed
+69 -13

No files matched your search

+19
View File
@@ -235,6 +235,25 @@ class CIBuildEnvsEmpty(PlatformioException):
"predefined environments using `--project-conf` option")
class InvalidUdevRules(PlatformioException):
pass
class MissedUdevRules(InvalidUdevRules):
MESSAGE = (
"Warning! Please install `99-platformio-udev.rules`. \nMode details: "
"https://docs.platformio.org/en/latest/faq.html#platformio-udev-rules")
class OutdatedUdevRules(InvalidUdevRules):
MESSAGE = (
"Warning! Your `{0}` are outdated. Please update or reinstall them."
"\n Mode details: https://docs.platformio.org"
"/en/latest/faq.html#platformio-udev-rules")
class UpgradeError(PlatformioException):
MESSAGE = """{0}