<div dir="ltr"><div class="markdown-here-wrapper" style=""><p style="margin:0px 0px 1.2em!important">2017-02-17 22:12 GMT+03:00 Adrian Zubarev via swift-evolution <<a href="mailto:swift-evolution@swift.org" target="_blank">swift-evolution@swift.org</a>>:</p>
<p style="margin:0px 0px 1.2em!important"></p><div class="markdown-here-exclude"><p></p><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word"><div class="m_7486315314052609371bloop_markdown"><p>Is the throwing type always a protocol? In your example it is, but is this going to be always the case?</p></div></div></blockquote><p></p></div><p style="margin:0px 0px 1.2em!important"></p>
<p style="margin:0px 0px 1.2em!important">I thought it was going to be any one subtype of <code style="font-size:0.85em;font-family:Consolas,Inconsolata,Courier,monospace;margin:0px 0.15em;padding:0px 0.3em;white-space:pre-wrap;border:1px solid rgb(234,234,234);background-color:rgb(248,248,248);border-radius:3px;display:inline">Error</code>, be it a struct, an enum, or a protocol existential, or <code style="font-size:0.85em;font-family:Consolas,Inconsolata,Courier,monospace;margin:0px 0.15em;padding:0px 0.3em;white-space:pre-wrap;border:1px solid rgb(234,234,234);background-color:rgb(248,248,248);border-radius:3px;display:inline">Error</code> itself.</p>
<div title="MDH:PGRpdiBjbGFzcz0iZ21haWxfZXh0cmEiPjxkaXYgY2xhc3M9ImdtYWlsX3F1b3RlIj4yMDE3LTAy
LTE3IDIyOjEyIEdNVCswMzowMCBBZHJpYW4gWnViYXJldiB2aWEgc3dpZnQtZXZvbHV0aW9uIDxz
cGFuIGRpcj0ibHRyIj4mbHQ7PGEgaHJlZj0ibWFpbHRvOnN3aWZ0LWV2b2x1dGlvbkBzd2lmdC5v
cmciIHRhcmdldD0iX2JsYW5rIj5zd2lmdC1ldm9sdXRpb25Ac3dpZnQub3JnPC9hPiZndDs8L3Nw
YW4+Ojxicj48YmxvY2txdW90ZSBjbGFzcz0iZ21haWxfcXVvdGUiIHN0eWxlPSJtYXJnaW46MCAw
IDAgLjhleDtib3JkZXItbGVmdDoxcHggI2NjYyBzb2xpZDtwYWRkaW5nLWxlZnQ6MWV4Ij48ZGl2
IHN0eWxlPSJ3b3JkLXdyYXA6YnJlYWstd29yZCI+PGRpdiBjbGFzcz0ibV83NDg2MzE1MzE0MDUy
NjA5MzcxYmxvb3BfbWFya2Rvd24iPjxwPklzIHRoZSB0aHJvd2luZyB0eXBlIGFsd2F5cyBhIHBy
b3RvY29sPyBJbiB5b3VyIGV4YW1wbGUgaXQgaXMsIGJ1dCBpcyB0aGlzIGdvaW5nIHRvIGJlIGFs
d2F5cyB0aGUgY2FzZT88L3A+PC9kaXY+PC9kaXY+PC9ibG9ja3F1b3RlPjxkaXY+SSB0aG91Z2h0
IGl0IHdhcyBnb2luZyB0byBiZSBhbnkgb25lIHN1YnR5cGUgb2YgYEVycm9yYCwgYmUgaXQgYSBz
dHJ1Y3QsIGFuIGVudW0sIG9yIGEgcHJvdG9jb2wgZXhpc3RlbnRpYWwsIG9yIGBFcnJvcmAgaXRz
ZWxmLjwvZGl2PjwvZGl2PjwvZGl2Pg==" style="height:0;width:0;max-height:0;max-width:0;overflow:hidden;font-size:0em;padding:0;margin:0"></div></div></div>