Skip to content

@alex.garcia/libfec / MissingMappingError

Class: MissingMappingError ​

Defined in: errors.ts:56

A row's type has no column mapping in the filing's FEC version, so its columns can't be named. Raised by itemizationRecords(), by itemizations() for a record with no typed class, and by columns. code: "FEC_MISSING_MAPPING".

Extends ​

Constructors ​

Constructor ​

new MissingMappingError(rowType, fecVersion, line): MissingMappingError

Defined in: errors.ts:62

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:25

What went wrong; see the table above.

Inherited from ​

FecError.code


status? ​

optional status?: number

Defined in: errors.ts:27

The HTTP status, for ERR_FILING_NOT_FOUND and ERR_HTTP.

Inherited from ​

FecError.status


rowType ​

readonly rowType: string

Defined in: errors.ts:63

The row type as filed ("SA11AI").


fecVersion ​

readonly fecVersion: string

Defined in: errors.ts:64

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


line ​

readonly line: number

Defined in: errors.ts:65

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