Class ImageNotFoundError

Error thrown when an image is not found

Hierarchy

  • Error
    • ImageNotFoundError

Constructors

  • Create a ImageNotFoundError

    Parameters

    • imageName: string

      Name of the image

    • url: string

      URL of the image

    Returns ImageNotFoundError

Properties

imageName: string
message: string
name: string
stack?: string
url: string
prepareStackTrace?: ((err: Error, stackTraces: CallSite[]) => any)

Optional override for formatting stack traces

stackTraceLimit: number

Methods

  • Create .stack property on a target object

    Parameters

    • targetObject: object
    • OptionalconstructorOpt: Function

    Returns void