Edit page in Livemark
(2022-09-19 18:33)

Row Errors

Row Error

Name Value
Type row-error
Title Row Error
Description Row Error
Template Row Error
Tags #table #row

Blank Row

Name Value
Type blank-row
Title Blank Row
Description This row is empty. A row should contain at least one value.
Template Row at position "{rowNumber}" is completely blank
Tags #table #row

PrimaryKey Error

Name Value
Type primary-key
Title PrimaryKey Error
Description Values in the primary key fields should be unique for every row
Template Row at position "{rowNumber}" violates the primary key: {note}
Tags #table #row

ForeignKey Error

Name Value
Type foreign-key
Title ForeignKey Error
Description Values in the foreign key fields should exist in the reference table
Template Row at position "{rowNumber}" violates the foreign key: {note}
Tags #table #row

Duplicate Row

Name Value
Type duplicate-row
Title Duplicate Row
Description The row is duplicated.
Template Row at position {rowNumber} is duplicated: {note}
Tags #table #row

Row Constraint

Name Value
Type row-constraint
Title Row Constraint
Description The value does not conform to the row constraint.
Template The row at position {rowNumber} has an error: {note}
Tags #table #row

Reference

errors.RowError (class)

errors.ForeignKeyError (class)

errors.RowError (class)

Row error representation

Signature

(*, note: str, cells: List[str], row_number: int) -> None

Parameters

  • note (str)
  • cells (List[str])
  • row_number (int)

errors.rowError.cells (property)

NOTE: add docs

Signature

List[str]

errors.rowError.row_number (property)

NOTE: add docs

Signature

int

errors.RowError.from_row (method) (static)

Create an error from a row

Signature

(row, *, note)

Parameters

  • row
  • note

errors.ForeignKeyError (class)

Row error representation

Signature

(*, note: str, cells: List[str], row_number: int, field_names: List[str], field_cells: List[str], reference_name: str, reference_field_names: List[str]) -> None

Parameters

  • note (str)
  • cells (List[str])
  • row_number (int)
  • field_names (List[str])
  • field_cells (List[str])
  • reference_name (str)
  • reference_field_names (List[str])

errors.foreignKeyError.field_names (property)

Keys in the resource target column.

Signature

List[str]

errors.foreignKeyError.field_cells (property)

Cells not found in the lookup table.

Signature

List[str]

errors.foreignKeyError.reference_name (property)

Name of the lookup table the keys were searched on

Signature

str

errors.foreignKeyError.reference_field_names (property)

Key names in the lookup table defined as foreign keys in the resource.

Signature

List[str]

errors.ForeignKeyError.from_row (method) (static)

Create an foreign-key-error from a row

Signature

(row, *, note, field_names: List[str], field_values: List[Any], reference_name: str, reference_field_names: List[str])

Parameters

  • row
  • note
  • field_names (List[str])
  • field_values (List[Any])
  • reference_name (str)
  • reference_field_names (List[str])
It's a beta version of Frictionless Framework (v5). Read Frictionless Framework (v4) docs for a version that is currently installed by default by pip.