Type alias ErrorHandler

ErrorHandler: ((error: Error, errorInfo?: Record<string, any>) => void)

Type declaration

    • (error: Error, errorInfo?: Record<string, any>): void
    • Allows to handle uncaught app/parcel errors. For apps it will be passed by ILC and handled centrally. For parcels it may be passed by Parcel component and handled there.

      Parameters

      • error: Error
      • Optional errorInfo: Record<string, any>

      Returns void

Generated using TypeDoc