xref: /OK3568_Linux_fs/yocto/poky/bitbake/lib/bb/pysh/sherrors.py (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593Smuzhiyun# sherrors.py - shell errors and signals
2*4882a593Smuzhiyun#
3*4882a593Smuzhiyun# Copyright 2007 Patrick Mezard
4*4882a593Smuzhiyun#
5*4882a593Smuzhiyun# This software may be used and distributed according to the terms
6*4882a593Smuzhiyun# of the GNU General Public License, incorporated herein by reference.
7*4882a593Smuzhiyun
8*4882a593Smuzhiyun"""Define shell exceptions and error codes.
9*4882a593Smuzhiyun"""
10*4882a593Smuzhiyun
11*4882a593Smuzhiyunclass ShellError(Exception):
12*4882a593Smuzhiyun    pass
13*4882a593Smuzhiyun
14*4882a593Smuzhiyunclass ShellSyntaxError(ShellError):
15*4882a593Smuzhiyun    pass
16