method ErrorUtils.sourceDownloadError
ErrorUtils.sourceDownloadError(
source: string,
cause?: Error,
): SourceError

Creates a SourceError for source download failures.

Parameters

source: string
  • The source that failed
optional
cause: Error
  • The underlying error

Return Type

Usage

import { ErrorUtils } from ".";