error

error: boolean | undefined

If true, the conversion could not be resolved (e.g. unknown unit, incompatible phenomena). When error is true, factor MUST be 1.0 and offset MUST be 0.0 (identity). Callers must check this flag before applying the conversion — applying an identity conversion silently produces wrong output.

Defined in

Last Updated: 05 May, 2026