solidity_parser.errors

Attributes

CPEArgs

message, source_unit_name, line_number, line_offset

Exceptions

AntlrParsingError

Common base class for all non-exit exceptions.

CodeProcessingError

Common base class for all non-exit exceptions.

UnexpectedCodeProcessingError

Common base class for all non-exit exceptions.

Module Contents

exception solidity_parser.errors.AntlrParsingError(unit_name: str, version: solidity_parser.util.version_util.Version, input_src: str, details)

Bases: Exception

Common base class for all non-exit exceptions.

Detail
input_src
details
solidity_parser.errors.CPEArgs: TypeAlias = tuple[str, str, int, int]

message, source_unit_name, line_number, line_offset

exception solidity_parser.errors.CodeProcessingError(message: str, source_unit_name: str, line_number, line_offset)

Bases: Exception

Common base class for all non-exit exceptions.

exception solidity_parser.errors.UnexpectedCodeProcessingError(message: str, source_unit_name: str, line_number: int, line_offset: int, root_cause: Exception)

Bases: CodeProcessingError

Common base class for all non-exit exceptions.

root_cause