-
Notifications
You must be signed in to change notification settings - Fork 38
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Iss632 after rebase on future (#721)
* refact branch rebase off of future; introduce custom error (UnparallelizableError and AdjLineNoteImplemented Error) caught before general errors, introduce custom error to ast_to_ir and ir in compiler at appropriate places with more detail error messages Signed-off-by: YUUU23 <[email protected]> * refactor: import custom error to ast_to_ir, raise unparallelizable err in pash_compiler Signed-off-by: YUUU23 <[email protected]> * refactor: put all expansion custom error from the sh_expand library (expand.py file) under one ExpansionError class in custom_error to catch and log these errors separately Signed-off-by: YUUU23 <[email protected]> * fix: remove duplicated ExpansionError in excepts (compile_ir) Signed-off-by: YUUU23 <[email protected]> * refactor: import ExpansionError (ExpansionError class initiated within expand package Signed-off-by: YUUU23 <[email protected]> * delete: remove expand.py changes as it will be changed in the original package Signed-off-by: YUUU23 <[email protected]> * fix: import expansion error Signed-off-by: YUUU23 <[email protected]> --------- Signed-off-by: YUUU23 <[email protected]>
- Loading branch information
Showing
4 changed files
with
29 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
class UnparallelizableError(Exception): | ||
pass | ||
|
||
class AdjLineNotImplementedError(Exception): | ||
pass |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters