Download next.js/test/production/custom-server/pages/page-error.js from Devendra174/react-code-dataset: direct link, hf CLI and curl.
- Browser
- Download file 175 Bytes
-
https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/next.js/test/production/custom-server/pages/page-error.js
- Command line
-
hf download hf://datasets/Devendra174/react-code-dataset/next.js/test/production/custom-server/pages/page-error.js
-
curl -L -o page-error.js https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/next.js/test/production/custom-server/pages/page-error.js
175 Bytes
| export default function Page() { | |
| return <p>This page should never be rendered</p> | |
| } | |
| export const getServerSideProps = async () => { | |
| throw new Error('Server side error') | |
| } | |