namespace WPFluent.Abstractions; /// /// Represents errors that occur during navigation. /// public sealed class NavigationException : Exception { /// /// Initializes a new instance of the class with a specified error message. /// /// The message that describes the error. public NavigationException(string message) : base(message) { } /// /// Initializes a new instance of the class with a specified error message and a /// reference to the inner exception that is the cause of this exception. /// /// The exception that is the cause of the current exception. /// The message that describes the error. public NavigationException(Exception e, string message) : base(message, e) { } }