UnsupportedFeatureError
On this page

UnsupportedFeatureError

Class in Backends

Thrown when a module needs a feature the target backend does not support, with code SD0030.

import { UnsupportedFeatureError } from 'typeshade'

The signature, the description and the examples come from the compiler's own source at commit af54ddad5.

Syntax

class UnsupportedFeatureError extends TypeShadeError

Description

The capability gate that runs before every emit throws it naming the missing capabilities, and an individual backend method throws it when asked for a construct its target cannot express. No source is produced in either case.

Constructor

new UnsupportedFeatureError(message: string)

In the guide

Source

src/core/backend.ts, line 346, at commit af54ddad5

Edit this page Report a problem