UnsupportedFeatureError
이 페이지에서

UnsupportedFeatureError

클래스, 백엔드 분류

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

import { UnsupportedFeatureError } from 'typeshade'

시그니처, 설명, 예제는 커밋 c66579bf의 컴파일러 소스에서 그대로 가져온 영어 원문입니다.

구문

class UnsupportedFeatureError extends TypeShadeError

설명

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.

생성자

new UnsupportedFeatureError(message: string)

관련 가이드

소스

src/core/backend.ts, 374행, 커밋 c66579bf 기준

이 페이지 편집 문제 보고