Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface ICatchErrorOption

Hierarchy

  • ICatchErrorOption

Index

Properties

Optional FallbackComponent

FallbackComponent: React.ComponentType<IErrorBoundaryFallbackComponentProps>

Optional onError

onError: (error: Error, componentStack: string) => void

Type declaration

    • (error: Error, componentStack: string): void
    • Parameters

      • error: Error
      • componentStack: string

      Returns void

Generated using TypeDoc