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 trialScott Laughead
12,750 PointsCode challenge error
For the past few days I have been getting the following error when submitting my code for the Actions and Func challenge
Oh no! There was a temporary issue running this code challenge. We've been notified and will investigate the problem.
If you continue experiencing problems, please contact support athelp@teamtreehouse.com.
It looks like a system error. Is anyone else experiencing similar issues?
FWIW here's my code:
using System;
namespace Treehouse.CodeChallenges
{
public class Program
{
Func<int, int> Square = delegate(int number)
{
return number * number;
};
}
}
1 Answer
Steven Parker
231,269 PointsI've noticed that sometimes, if you make an error unanticipated by the challenge designers, the challenge checker will just crash instead of giving you a useful hint. In those cases, I pretend it said "Bummer" and look for something I might want to change.
Scott Laughead
12,750 PointsScott Laughead
12,750 PointsThat worked, thank you.