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

    Parameters

    • location: string

      The method where the error was caught.

    • error: any
    • Optional data: object

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

    Returns void