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.
Extends
Section titled “Extends”Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new FitsHeaderError(message, context?): FitsHeaderError;Defined in: errors.ts:21
Parameters
Section titled “Parameters”| 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 |
Returns
Section titled “Returns”FitsHeaderError
Overrides
Section titled “Overrides”Properties
Section titled “Properties”cardIndex?
Section titled “cardIndex?”readonly optional cardIndex?: number;Defined in: errors.ts:15
Zero-based index of the card within the header, when known.
keyword?
Section titled “keyword?”readonly optional keyword?: string;Defined in: errors.ts:17
Keyword of the offending card, when known.
rawCard?
Section titled “rawCard?”readonly optional rawCard?: string;Defined in: errors.ts:19
The raw 80-character card image, when known.