Exit Code 1 means "The game crashed".

Yes, that's all it means. The exit code is not useful. Sorry to disappoint.
Minecraft crash dialog box

What next?

You'll need to find and share your logs. Logs are far more actionable than the "exit code". They are very important for diagnosing all sorts of Minecraft problems.

The process to find your logs varies per launcher.

CurseForge Right-click your modpack and select "Open Folder".

Navigate into the folder called logs and look for the file named latest.log.

More information.

Prism Launcher Right-click your modpack and select "Folder". Open the folder called .minecraft.

Navigate into the folder called logs and look for the file named latest.log.

Official/vanilla launcher Windows: Open Explorer, click inside the address bar, and enter %APPDATA%/.minecraft. Press Enter.

Navigate into the folder called logs and look for the file named latest.log.

More information.

Uploading

Once you have your logs, upload them to a paste site. Logs are long, so don't paste them directly into your post.

Here are some nice paste sites:

If you're sharing logs somewhere that supports attachments (like a Discord channel or GitHub issue), you can also attach your logs as a file.

Good luck

Minecraft problems are really frustating. Good luck getting your problem solved!