Current User

Solution - Invalid Credentials Exception


Solution: Add InvalidCredentialsException Class

In the Conduit.Models Project

In the Conduit.Models.Exceptions Namespace
  • Add a new class called InvalidCredentialsException
  • [Remove and Sort Usings]
  • Add a constructor that recieves a string parameter called message
  • Pass it along to the base class

Here's the code for the InvalidCredentialsException.cs file:

using System;

namespace Conduit.Models.Exceptions
    public class InvalidCredentialsException : Exception
        public InvalidCredentialsException(string message) : base(message)


I finished! On to the next chapter