다음을 통해 공유


TemplateException class

진단이 포함된 LG 예외입니다.

Extends

Error

생성자

TemplateException(string, Diagnostic[])

TemplateException 클래스의 새 인스턴스를 만듭니다.

속성

Error

상속된 속성

message
name
stack

메서드

getDiagnostic()

진단

생성자 세부 정보

TemplateException(string, Diagnostic[])

TemplateException 클래스의 새 인스턴스를 만듭니다.

new TemplateException(m: string, diagnostics: Diagnostic[])

매개 변수

m

string

오류 메시지입니다.

diagnostics

Diagnostic[]

throw할 진단 목록입니다.

속성 세부 정보

Error

static Error: ErrorConstructor

속성 값

ErrorConstructor

상속된 속성 세부 정보

message

message: string

속성 값

string

상속된 위치에서 Error.message

name

name: string

속성 값

string

Error.name 상속됨

stack

stack?: string

속성 값

string

상속된 위치에서 Error.stack

메서드 세부 정보

getDiagnostic()

진단

function getDiagnostic(): Diagnostic[]

반환

오류 또는 경고(범위, 메시지, 심각도, 소스, 코드)의 진단입니다.