TemplaterUnavailableError
Thrown when Templater’s internal API cannot be handed over, carrying the TemplaterUnavailabilityReason that says why.
Import:
import { TemplaterUnavailableError } from '@mnaoumov/obsidian-lib/templater';Signature:
export class TemplaterUnavailableError extends ErrorExtends: Error
Constructor
new TemplaterUnavailableError(reason: TemplaterUnavailabilityReason)Creates a TemplaterUnavailableError.
Properties
| Property | Type | Description |
|---|---|---|
| reason | TemplaterUnavailabilityReason | Which of the two failures occurred. |