Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Conversation

Suiram1701
Copy link
Contributor

@Suiram1701 Suiram1701 commented Apr 6, 2025

Description

Sometimes its kind a hard to track back where some of the ArgumentException's are cumming from, so this PR adds the error causing value to the message manuel or by using Preconditions to improve the possablility to find the error causing value.

Changes

  • Replaced some 'manuel' exception throwing by using the Precondition class
  • Added the error causing value to some exception messages

Related Issues

N/A

@Suiram1701 Suiram1701 requested a review from Misha-133 April 11, 2025 15:17
@Misha-133 Misha-133 merged commit cce6274 into discord-net:dev Apr 14, 2025
2 checks passed
Suiram1701 added a commit to Suiram1701/Discord.Net that referenced this pull request Apr 27, 2025
* Fixed type reader/converter parsing exception

* Added the provided value to exceptions of some builders and, used more the Preconditions class.

* Removed unused `System.Xml.Linq` usings
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

Morty Proxy This is a proxified and sanitized view of the page, visit original site.