Handle "AbortedByUser" exception

This commit is contained in:
Ivan Kravets committed 2015-02-15 23:39:02 +02:00
1 parent 83dfcf6ac2
commit dc61722907
2 files changed
+10 -5

No files matched your search

+5
View File
@@ -13,6 +13,11 @@ class PlatformioException(Exception):
return Exception.__str__(self)
class AbortedByUser(PlatformioException):
MESSAGE = "Aborted by user"
class UnknownPlatform(PlatformioException):
MESSAGE = "Unknown platform '%s'"