Fixes for alert
This commit is contained in:
parent
3b05bbf440
commit
53147eee1c
@ -91,9 +91,6 @@
|
||||
// Handles the error based on the error object passed in. May log and/or display the error.
|
||||
+ (void)handleError:(nonnull MVMCoreErrorObject *)error loadObject:(nonnull MVMCoreLoadObject *)loadObject showAlertForErrorIfApplicable:(BOOL)showAlertForErrorIfApplicable;
|
||||
|
||||
// Shows the appropriate alert tyle for the given response info and/or error.
|
||||
+ (void)createAndShowAlertForLoadObject:(nullable MVMCoreLoadObject *)loadObject error:(nullable MVMCoreErrorObject *)error delegateObject:(nullable DelegateObject *)delegateObject;
|
||||
|
||||
/** Called when the load was finished due to an error. Handles the error and ends the load.
|
||||
* @param error The error that occured. May be logged depending.
|
||||
* @param loadObject The load data for the error. **/
|
||||
|
||||
@ -36,6 +36,6 @@
|
||||
- (nonnull MVMCoreErrorObject *)createErrorObjectForRequestNSError:(nonnull NSError *)error forRequest:(nonnull NSURLRequest *)request location:(nullable NSString *)locationForError;
|
||||
|
||||
// Shows the appropriate alert style for the given response info and/or error.
|
||||
- (void)createAndShowAlertForLoadObject:(nullable MVMCoreLoadObject *)loadObject error:(nullable MVMCoreErrorObject *)error delegateObject:(nullable DelegateObject *)delegateObject;
|
||||
- (void)createAndShowAlertForLoadObject:(nullable MVMCoreLoadObject *)loadObject error:(nullable MVMCoreErrorObject *)error delegateObject:(nullable DelegateObject *)delegateObject;
|
||||
|
||||
@end
|
||||
|
||||
Loading…
Reference in New Issue
Block a user