isAepGenerationError
isAepGenerationError(
error):error is AepGenerationError<AepGenerationErrorCode, unknown>
Defined in: packages/simply-aep-core/src/generate/errors.ts:56
Structural check for AepGenerationError. Prefer this over instanceof, which fails when a
consumer ends up with two copies of this package.
Parameters
Section titled “Parameters”unknown
Anything caught.
Returns
Section titled “Returns”error is AepGenerationError<AepGenerationErrorCode, unknown>
Whether error is an AepGenerationError.