Skip to content

@alex.garcia/libfec / MissingMappingError

Class: MissingMappingError ​

Defined in: errors.ts:48

A row's type has no column mapping in the filing's FEC version, so its columns can't be named. Raised by rows() (unless unknownRows: "skip") and columns. code: "FEC_MISSING_MAPPING".

Extends ​

Constructors ​

Constructor ​

new MissingMappingError(rowType, fecVersion, line): MissingMappingError

Defined in: errors.ts:54

Parameters ​

rowType ​

string

The row type as filed ("SA11AI").

fecVersion ​

string

The filing's format version ("8.4").

line ​

number

The row's 1-based line, or 0 when there is none (columns).

Returns ​

MissingMappingError

Overrides ​

FecError.constructor

Properties ​

code? ​

optional code?: string

Defined in: errors.ts:21

What went wrong; see the table above.

Inherited from ​

FecError.code


rowType ​

readonly rowType: string

Defined in: errors.ts:55

The row type as filed ("SA11AI").


fecVersion ​

readonly fecVersion: string

Defined in: errors.ts:56

The filing's format version ("8.4").


line ​

readonly line: number

Defined in: errors.ts:57

The row's 1-based line, or 0 when there is none (columns).