IAppleError.cs 1.0 KB

1234567891011121314151617181920212223242526272829303132333435
  1. namespace AppleAuth.Interfaces
  2. {
  3. public interface IAppleError
  4. {
  5. /// <summary>
  6. /// The error code.
  7. /// </summary>
  8. int Code { get; }
  9. /// <summary>
  10. /// A string containing the error domain.
  11. /// </summary>
  12. string Domain { get; }
  13. /// <summary>
  14. /// A string containing the localized description of the error.
  15. /// </summary>
  16. string LocalizedDescription { get; }
  17. /// <summary>
  18. /// An array containing the localized titles of buttons appropriate for displaying in an alert panel.
  19. /// </summary>
  20. string[] LocalizedRecoveryOptions { get; }
  21. /// <summary>
  22. /// A string containing the localized recovery suggestion for the error.
  23. /// </summary>
  24. string LocalizedRecoverySuggestion { get; }
  25. /// <summary>
  26. /// A string containing the localized explanation of the reason for the error.
  27. /// </summary>
  28. string LocalizedFailureReason { get; }
  29. }
  30. }