class SourceError
extends BaseError

Custom error class for source errors

Constructors

new
SourceError(
message: string,
source: string,
cause?: Error,
)

Creates a new SourceError

Properties

readonly
source: string

Source URL or path that failed

Usage

import { SourceError } from ".";