This repository has been archived by the owner on May 15, 2024. It is now read-only.
[Enhancement] Exception types do not match intended target #1419
Labels
enhancement
Small enhancement to the library
Currently we throw PlatformNotSupportedExceptions with a message, when we have a self declared exception type which is already used for this scenario. PlatformNotSupportedException is declared in System.Runtime.Serialization which simply adds namespace clutter and confusing docs, as that exception should not be used in our scenario. Docs:
Instead we should throw a NotImplementedException with a message as we already do in a couple of places. This is probably best adressed in a a larger exception handling project as #1415 and #963 as well as #457 relate to this.
The text was updated successfully, but these errors were encountered: