Am 08.04.2016 um 11:59 schrieb Brent Royal-Gordon <[email protected]>:
>> I only wonder whether you really want to repeat Error() all over, possibly
>> with `aString` etc. as argument.
>
> `Error()`, no. `SpimsterKitError.invalidWicketField("a"`), yes, because even
> if `Int.init(_:)` threw *an* error, it wouldn't throw *your* error.
That's why I thought that in a real use case that logic would likely be
extracted.
-Thorsten
_______________________________________________
swift-evolution mailing list
[email protected]
https://lists.swift.org/mailman/listinfo/swift-evolution