• Report an error to the Foundry hook error handler.

    Parameters

    • source: string

      The source identifier where the error originated.

    • error: Error

      The error to report.

    • Optionaldata: object

      Optional context data for the error handler.

    Returns void