NSError(KSTExtensions)

@interface NSError (KSTExtensions)

/**
 Returns the default alert title.
 */
@property (class,readonly,nonatomic) NSString *KST_defaultAlertTitle;
/**
 Returns the default alert message.
 */
@property (class,readonly,nonatomic) NSString *KST_defaultAlertMessage;

/**
 Returns the value for the KSTErrorAlertTitleKey key in the receiver's userInfo dictionary if non-nil, otherwise returns KST_defaultAlertTitle.
 
 @return The alert title
 */
@property (readonly,nonatomic) NSString *KST_alertTitle;
/**
 Returns the value for the KSTErrorAlertMessageKey key in the receiver's userInfo dictionary if non-nil, then the value for the NSLocalizedDescriptionKey key, then KST_defaultAlertMessage.
 
 @return The alert message
 */
@property (readonly,nonatomic) NSString *KST_alertMessage;

@end

Undocumented

  • Returns the default alert title.

    Declaration

    Objective-C

    @property (class, nonatomic, readonly) NSString *_Nonnull KST_defaultAlertTitle;
  • Returns the default alert message.

    Declaration

    Objective-C

    @property (class, nonatomic, readonly) NSString *_Nonnull KST_defaultAlertMessage;
  • Returns the value for the KSTErrorAlertTitleKey key in the receiver’s userInfo dictionary if non-nil, otherwise returns KST_defaultAlertTitle.

    Declaration

    Objective-C

    @property (nonatomic, readonly) NSString *_Nonnull KST_alertTitle;

    Return Value

    The alert title

  • Returns the value for the KSTErrorAlertMessageKey key in the receiver’s userInfo dictionary if non-nil, then the value for the NSLocalizedDescriptionKey key, then KST_defaultAlertMessage.

    Declaration

    Objective-C

    @property (nonatomic, readonly) NSString *_Nonnull KST_alertMessage;

    Return Value

    The alert message