Skip to content

FitsHeaderError

Defined in: errors.ts:13

A header could not be parsed, or violated the FITS standard while parsing in strict mode. Carries enough context to locate the offending card.

new FitsHeaderError(message, context?): FitsHeaderError;

Defined in: errors.ts:21

Parameter Type
message string
context? { cardIndex?: number; cause?: unknown; keyword?: string; rawCard?: string; }
context.cardIndex? number
context.cause? unknown
context.keyword? string
context.rawCard? string

FitsHeaderError

FitsError.constructor

readonly optional cardIndex?: number;

Defined in: errors.ts:15

Zero-based index of the card within the header, when known.


readonly optional keyword?: string;

Defined in: errors.ts:17

Keyword of the offending card, when known.


readonly optional rawCard?: string;

Defined in: errors.ts:19

The raw 80-character card image, when known.