Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public class ErrorToast : Exception
- {
- public string Title { get; private set; }
- public ToastType Type = ToastType.Error;
- public ErrorToast(string title, string message) : base(message)
- {
- this.Title = title;
- }
- public override string ToString()
- {
- return Message;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement