Advertisement
Guest User

Untitled

a guest
Feb 22nd, 2017
68
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.31 KB | None | 0 0
  1. public class ErrorToast : Exception
  2. {
  3. public string Title { get; private set; }
  4.  
  5. public ToastType Type = ToastType.Error;
  6.  
  7. public ErrorToast(string title, string message) : base(message)
  8. {
  9. this.Title = title;
  10. }
  11.  
  12. public override string ToString()
  13. {
  14. return Message;
  15. }
  16. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement