Refactors _typeDescription function of DecodingError using switch for type casting
Refactors _typeDescription function of DecodingError using switch for type casting

apple/swift-corelibs-foundation,apple/swift-corelibs-foundation,apple/swift-corelibs-foundation,apple/swift-corelibs-foundation,apple/swift-corelibs-foundation