Fixes for alert

This commit is contained in:
Pfeil, Scott Robert 2020-10-28 15:45:39 -04:00
parent 3b05bbf440
commit 53147eee1c
2 changed files with 1 additions and 4 deletions

View File

@ -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. **/

View File

@ -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