Skip to content

vyaz-monorepo / core/src / FontNotFoundError

Class: FontNotFoundError ​

Defined in: core/src/measure/FontNotFoundError.ts:4

FontNotFoundError.ts — thrown when a requested font is not registered.

Extends ​

  • Error

Constructors ​

Constructor ​

new FontNotFoundError(family, weight?, style?): FontNotFoundError

Defined in: core/src/measure/FontNotFoundError.ts:5

Parameters ​

family ​

string

weight? ​

string = 'normal'

style? ​

string = 'normal'

Returns ​

FontNotFoundError

Overrides ​

Error.constructor

Released under the MIT License.