From 72457618b948a1fb142d7b80aedddaf6f4f156ce Mon Sep 17 00:00:00 2001 From: Felipe Baltazar Date: Sat, 2 Nov 2024 10:46:02 -0300 Subject: [PATCH] Improve UnableToLoadXamlException message --- .../Models/Exceptions/UnableToLoadXamlException.cs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Maui.ServerDrivenUI/Models/Exceptions/UnableToLoadXamlException.cs b/Maui.ServerDrivenUI/Models/Exceptions/UnableToLoadXamlException.cs index 481abcd..3631b1a 100644 --- a/Maui.ServerDrivenUI/Models/Exceptions/UnableToLoadXamlException.cs +++ b/Maui.ServerDrivenUI/Models/Exceptions/UnableToLoadXamlException.cs @@ -7,6 +7,11 @@ public string Xaml get; } + public override string Message + { + get => $"{base.Message} | {Xaml}"; + } + public UnableToLoadXamlException(string message, string xaml, Exception inner) : base(message, inner) { Xaml = xaml;