Skip to content

Create Custom Destructurers for More Exceptions #418

@RehanSaeed

Description

@RehanSaeed

Describe the feature

To avoid using reflection we can create custom destructurers for more exception types. ArgumentExceptionDestructurer is a good example for how to do this.

  • System.AggregateException
  • System.BadImageFormatException
  • System.Diagnostics.Contracts.ContractException
  • System.Globalization.CultureNotFoundException
  • System.IO.FileLoadException
  • System.IO.FileNotFoundException
  • System.MissingFieldException
  • System.MissingMemberException
  • System.MissingMethodException
  • System.NotFiniteNumberException
  • System.ObjectDisposedException
  • System.Reflection.ReflectionTypeLoadException
  • System.Resources.MissingSatelliteAssemblyException
  • System.Runtime.CompilerServices.RuntimeWrappedException
  • System.Runtime.CompilerServices.SwitchExpressionException
  • System.Runtime.InteropServices.ExternalException
  • System.Security.SecurityException
  • System.Text.DecoderFallbackException
  • System.Text.EncoderFallbackException
  • System.Threading.AbandonedMutexException
  • System.Threading.Tasks.TaskCanceledException
  • System.Threading.ThreadAbortException
  • System.TypeInitializationException
  • System.TypeLoadException

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementIssues describing an enhancement or pull requests adding an enhancement.good first issueA good first issue for a new community member to take on.help wantedHelp wanted from the community.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions