• A hook event that fires whenever foundry experiences an error.

    Parameters

    • location: string

      The method where the error was caught.

    • error: Error

      The error.

    • data: object

      Additional data that might be provided, based on the nature of the error.

    Returns void