|
Download next.js/contributing/core/adding-error-links.md from Devendra174/react-code-dataset: direct link, hf CLI and curl.
- Browser
- Download file 570 Bytes
-
https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/1e92f2d0b9e054abc23a53595fd89ad3e2b4a34e/next.js/contributing/core/adding-error-links.md
- Command line
-
hf download hf://datasets/Devendra174/react-code-dataset@1e92f2d0b9e054abc23a53595fd89ad3e2b4a34e/next.js/contributing/core/adding-error-links.md
-
curl -L -o adding-error-links.md https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/1e92f2d0b9e054abc23a53595fd89ad3e2b4a34e/next.js/contributing/core/adding-error-links.md
570 Bytes
Adding Warning and Error Descriptions
Next.js has a system to add helpful links to warnings and errors.
This allows the logged message to be short while giving a broader description and instructions on how to solve the warning/error on the documentation.
In general, all warnings and errors added should have these links attached.
Below are the steps to add a new link:
- Run
pnpm new-errorwhich will create the error document and update the manifest automatically. - At the end of the command the URL for the error will be provided, add that to your error.