export type ReactError = {error: Error; errorInfo: React.ErrorInfo}