Skip to main content
注意: このページはまだ日本語に翻訳されていません。以下は英語の原文です。
Returns true if the error matches an error thrown by quais that matches the error code. In TypeScript environments, this can be used to check that error matches an quaisError type, which means the expected properties will be set.

Type parameters

Parameters

Returns

error is T

Example

See

ErrorCodes

Source

utils/errors.ts:664