메인 콘텐츠로 건너뛰기
참고: 이 페이지는 아직 한국어로 번역되지 않았습니다. 아래는 영어 원문입니다.
Returns a new Error configured to the format quais emits errors, with the message, ErrorCode code and additional properties for the corresponding quaisError. Each error in quais includes the version of quais, a machine-readable ErrorCode, and depending on code, additional required properties. The error message will also include the message, quais version, code and all additional properties, serialized.

Type parameters

Parameters

Returns

T The new error.

Source

utils/errors.ts:691