[swift-dev] Descriptive Protocol non-conformance errors
allings at icloud.com
Sat Jun 25 15:19:59 CDT 2016
I’m suggesting a change to the compiler that returns an error when an object 'does not conform to protocol’ to nest sub-errors that’ll list what properties and methods the object hasn’t implemented.
I’m using the idea of a nested error so that the exceptions thrown will be grouped when shown. That was each doesn’t create a new error, racking up the error count, but rather just showing the developer the things he/she needs to implement.
More information about the swift-dev