Optimized Gerber parser. Some minor improvements to Excellon parser.
This commit is contained in:
7
FlatCAMException.py
Normal file
7
FlatCAMException.py
Normal file
@@ -0,0 +1,7 @@
|
||||
class FlatCAMException(Exception):
|
||||
def __init__(self, message="An error occurred", detail=""):
|
||||
self.message = message
|
||||
self.detail = detail
|
||||
|
||||
def __str__(self):
|
||||
return "FlatCAM ERROR:", self.message
|
||||
Reference in New Issue
Block a user