Function: unwrapFitParseMessages()
function unwrapFitParseMessages(result: FitParsePayload): FitMessages;
Defined in: utils/files/import/fitParsePayload.ts:75
Return decoded FIT messages or throw for parser error payloads.
Parametersβ
resultβ
Returnsβ
Throwsβ
Error when the parser returned a FIT decode error payload.
Throwsβ
TypeError when the parser returned a non-object payload.