Some checks failed
Build & Deploy / 🔍 Prepare (push) Successful in 20s
Build & Deploy / 🧪 QA (push) Failing after 34s
Build & Deploy / 🏗️ Build (push) Has started running
Build & Deploy / 🚀 Deploy (push) Has been cancelled
Build & Deploy / 🧪 Smoke Test (push) Has been cancelled
Build & Deploy / ⚡ Lighthouse (push) Has been cancelled
Build & Deploy / 🔔 Notify (push) Has been cancelled
15 lines
689 B
Plaintext
15 lines
689 B
Plaintext
import { NextPageContext } from 'next';
|
|
import { ErrorProps } from 'next/error';
|
|
type ErrorGetInitialProps = (context: NextPageContext) => Promise<ErrorProps>;
|
|
/**
|
|
* Create a wrapped version of the user's exported `getInitialProps` function in
|
|
* a custom error page ("_error.js").
|
|
*
|
|
* @param origErrorGetInitialProps The user's `getInitialProps` function
|
|
* @param parameterizedRoute The page's parameterized route
|
|
* @returns A wrapped version of the function
|
|
*/
|
|
export declare function wrapErrorGetInitialPropsWithSentry(origErrorGetInitialProps: ErrorGetInitialProps): ErrorGetInitialProps;
|
|
export {};
|
|
//# sourceMappingURL=wrapErrorGetInitialPropsWithSentry.d.ts.map
|