ParseError

class ParseError(line_number: int, exception: Exception, stage: Stage)[source]

Bases: NamedTuple

An error during SSSOM parsing and processing that causes a row to be unrecoverable.

Create new instance of ParseError(line_number, exception, stage)

Attributes Summary

exception

Alias for field number 1

line_number

Alias for field number 0

stage

Alias for field number 2

Methods Summary

format_exception()

Format the exception as a string.

Attributes Documentation

exception: Exception

Alias for field number 1

line_number: int

Alias for field number 0

stage: Literal['raw', 'processing']

Alias for field number 2

Methods Documentation

format_exception() str[source]

Format the exception as a string.