facn6 / week7-Ayah-Kira

0 stars 2 forks source link

Writing descriptive error messages #29

Open bobbysebolao opened 5 years ago

bobbysebolao commented 5 years ago

I noticed this error message at a few points in your code:

      return new error("there is an error");

If you have time, you can try to describe the specific error being handled. It'll hopefully make debugging easier for you!