| Linux premium331.web-hosting.com 4.18.0-553.80.1.lve.el8.x86_64 #1 SMP Wed Oct 22 19:29:36 UTC 2025 x86_64 Path : /home/livedhms/lmgt/node_modules/next/dist/pages/ |
| Current File : //home/livedhms/lmgt/node_modules/next/dist/pages/_error.d.ts |
import React from 'react';
import type { NextPageContext } from '../shared/lib/utils';
export type ErrorProps = {
statusCode: number;
hostname?: string;
title?: string;
withDarkMode?: boolean;
};
declare function _getInitialProps({ req, res, err, }: NextPageContext): Promise<ErrorProps> | ErrorProps;
/**
* `Error` component used for handling errors.
*/
export default class Error<P = {}> extends React.Component<P & ErrorProps> {
static displayName: string;
static getInitialProps: typeof _getInitialProps;
static origGetInitialProps: typeof _getInitialProps;
render(): import("react/jsx-runtime").JSX.Element;
}
export {};