1 // Copyright 2015-present 650 Industries. All rights reserved.
2 
3 #import <React/RCTRedBox.h>
4 
5 @interface EXDisabledRedBox : RCTRedBox
6 
7 - (void)showError:(NSError *)message;
8 - (void)showErrorMessage:(NSString *)message;
9 - (void)showErrorMessage:(NSString *)message withDetails:(NSString *)details;
10 - (void)showErrorMessage:(NSString *)message withRawStack:(NSString *)rawStack;
11 - (void)showErrorMessage:(NSString *)message withRawStack:(NSString *)rawStack errorCookie:(int)errorCookie;
12 - (void)showErrorMessage:(NSString *)message withStack:(NSArray<NSDictionary *> *)stack;
13 - (void)updateErrorMessage:(NSString *)message withStack:(NSArray<NSDictionary *> *)stack;
14 - (void)showErrorMessage:(NSString *)message withStack:(NSArray<NSDictionary *> *)stack showIfHidden:(BOOL)shouldShow;
15 - (void)showErrorMessage:(NSString *)message withStack:(NSArray<NSDictionary *> *)stack errorCookie:(int)errorCookie;
16 - (void)updateErrorMessage:(NSString *)message withStack:(NSArray<NSDictionary *> *)stack errorCookie:(int)errorCookie;
17 - (void)showErrorMessage:(NSString *)message withParsedStack:(NSArray<id> *)stack;
18 - (void)updateErrorMessage:(NSString *)message withParsedStack:(NSArray<id> *)stack;
19 - (void)showErrorMessage:(NSString *)message
20          withParsedStack:(NSArray<id> *)stack
21              errorCookie:(int)errorCookie;
22 - (void)updateErrorMessage:(NSString *)message
23            withParsedStack:(NSArray<id> *)stack
24                errorCookie:(int)errorCookie;
25 
26 - (void)dismiss;
27 
28 - (void)setOverrideReloadAction:(dispatch_block_t __unused)block;
29 
30 @end
31