Download next.js/test/integration/api-support/pages/api/user-error-async.js from Devendra174/react-code-dataset: direct link, hf CLI and curl.
- Browser
- Download file 71 Bytes
-
https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/next.js/test/integration/api-support/pages/api/user-error-async.js
- Command line
-
hf download hf://datasets/Devendra174/react-code-dataset/next.js/test/integration/api-support/pages/api/user-error-async.js
-
curl -L -o user-error-async.js https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/next.js/test/integration/api-support/pages/api/user-error-async.js
71 Bytes
| export default async (req, res) => { | |
| throw new Error('User error') | |
| } | |