# LicenseCapabilityMissingError Class
Error thrown when a public API method is called for a FeatureId that the current
license entitlement does not grant. Mirrors gate B's ErrorMessage.LicenseCapability, but
this one guards the API surface itself (HF-307 PR 2) rather than a formula evaluation, so it
is thrown synchronously instead of surfacing as a cell error.
This list names every method that can throw it - resumeEvaluation is deliberately NOT among
them: it is the sole exit from a suspended engine, so gating it could strand an instance
permanently if the entitlement changes mid-suspension (see the note on HyperFormula. ensureCapability).
see HyperFormula.buildFromArray
see HyperFormula.buildFromSheets
see copy
see cut
see paste
see setCellContents
see addRows
see removeRows
see addColumns
see removeColumns
see moveCells
see moveRows
see moveColumns
see swapRowIndexes
see setRowOrder
see setColumnOrder
see addSheet
see removeSheet
see clearSheet
see setSheetContent
see renameSheet
see undo
see redo
see batch
# Constructors
# constructor
+ new LicenseCapabilityMissingError(feature: FeatureId): LicenseCapabilityMissingError
Defined in src/errors.ts:439 (opens new window)
Parameters:
| Name | Type |
|---|---|
feature | FeatureId |
Returns: LicenseCapabilityMissingError
# Properties
# message
• message: string
# name
• name: string
# stack Optional
• stack? : undefined | string
# Error Static
▪ Error: ErrorConstructor