Skip to content

FilePositionException

FilePositionException(message, file=None, position=None, position_end=None)

Bases: Exception

Exception that includes file position information.

PARAMETER DESCRIPTION
message

error message

TYPE: str

file

name of the file where the error occurred

TYPE: str | None DEFAULT: None

position

position in the file where the error occurred

TYPE: Any DEFAULT: None

position_end

end position in the file where the error occurred

TYPE: Any DEFAULT: None