diff options
author | Adrian Dudau <adrian.dudau@enea.com> | 2013-12-12 13:38:32 +0100 |
---|---|---|
committer | Adrian Dudau <adrian.dudau@enea.com> | 2013-12-12 13:50:20 +0100 |
commit | e2e6f6fe07049f33cb6348780fa975162752e421 (patch) | |
tree | b1813295411235d1297a0ed642b1346b24fdfb12 /bitbake/lib/bb/pysh/sherrors.py | |
download | poky-e2e6f6fe07049f33cb6348780fa975162752e421.tar.gz |
initial commit of Enea Linux 3.1
Migrated from the internal git server on the dora-enea branch
Signed-off-by: Adrian Dudau <adrian.dudau@enea.com>
Diffstat (limited to 'bitbake/lib/bb/pysh/sherrors.py')
-rw-r--r-- | bitbake/lib/bb/pysh/sherrors.py | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/bitbake/lib/bb/pysh/sherrors.py b/bitbake/lib/bb/pysh/sherrors.py new file mode 100644 index 0000000000..1d5bd53b3a --- /dev/null +++ b/bitbake/lib/bb/pysh/sherrors.py | |||
@@ -0,0 +1,41 @@ | |||
1 | # sherrors.py - shell errors and signals | ||
2 | # | ||
3 | # Copyright 2007 Patrick Mezard | ||
4 | # | ||
5 | # This software may be used and distributed according to the terms | ||
6 | # of the GNU General Public License, incorporated herein by reference. | ||
7 | |||
8 | """Define shell exceptions and error codes. | ||
9 | """ | ||
10 | |||
11 | class ShellError(Exception): | ||
12 | pass | ||
13 | |||
14 | class ShellSyntaxError(ShellError): | ||
15 | pass | ||
16 | |||
17 | class UtilityError(ShellError): | ||
18 | """Raised upon utility syntax error (option or operand error).""" | ||
19 | pass | ||
20 | |||
21 | class ExpansionError(ShellError): | ||
22 | pass | ||
23 | |||
24 | class CommandNotFound(ShellError): | ||
25 | """Specified command was not found.""" | ||
26 | pass | ||
27 | |||
28 | class RedirectionError(ShellError): | ||
29 | pass | ||
30 | |||
31 | class VarAssignmentError(ShellError): | ||
32 | """Variable assignment error.""" | ||
33 | pass | ||
34 | |||
35 | class ExitSignal(ShellError): | ||
36 | """Exit signal.""" | ||
37 | pass | ||
38 | |||
39 | class ReturnSignal(ShellError): | ||
40 | """Exit signal.""" | ||
41 | pass \ No newline at end of file | ||