Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

iOS Network Programming with Swift 2 Protocol Oriented Networking Handling Networking Errors

Misunderstanding of variable'a names

I'm a little confused. We have error variable in dataTaskWithRequest closure expression, also we create constant error in another closure. Do I understand correctly that these errors are not the same? And error constant that we've created we passed in completion, but what do we do with error from daraTaskWithrequest?