/opt/imh-python/lib/python3.9/site-packages/crossplane
NameSizeModeActions
ext/-0755rm
__pycache__/-0755rm
analyzer.py829350644editdlrm
builder.py46640644editdlrm
compat.py7050644editdlrm
errors.py7770644editdlrm
formatter.py5600644editdlrm
lexer.py48890644editdlrm
parser.py103080644editdlrm
__init__.py6520644editdlrm
__main__.py98470644editdlrm
Edit: /opt/imh-python/lib/python3.9/site-packages/crossplane/errors.py (777B)
# -*- coding: utf-8 -*- class NgxParserBaseException(Exception): def __init__(self, strerror, filename, lineno): self.args = (strerror, filename, lineno) self.filename = filename self.lineno = lineno self.strerror = strerror def __str__(self): if self.lineno is not None: return '%s in %s:%s' % self.args else: return '%s in %s' % self.args class NgxParserSyntaxError(NgxParserBaseException): pass class NgxParserDirectiveError(NgxParserBaseException): pass class NgxParserDirectiveArgumentsError(NgxParserDirectiveError): pass class NgxParserDirectiveContextError(NgxParserDirectiveError): pass class NgxParserDirectiveUnknownError(NgxParserDirectiveError): pass