@@ -109,28 +109,56 @@ + (void)markLaunchCompleted {
109109+ (void )notify : (NSException *)exception {
110110 if ([self bugsnagReadyForInternalCalls ]) {
111111 BSGPreventInlining (@" Prevent" );
112- [self .client notifyErrorOrException: exception stackStripDepth: 2 block: nil ];
112+ [self .client notifyErrorOrException: exception stackStripDepth: 2 options: nil block: nil ];
113+ }
114+ }
115+
116+ + (void )notify : (NSException *)exception options : (BugsnagErrorOptions *)options {
117+ if ([self bugsnagReadyForInternalCalls ]) {
118+ BSGPreventInlining (@" Prevent" );
119+ [self .client notifyErrorOrException: exception stackStripDepth: 2 options: options block: nil ];
113120 }
114121}
115122
116123+ (void )notify : (NSException *)exception block : (BugsnagOnErrorBlock)block {
117124 if ([self bugsnagReadyForInternalCalls ]) {
118125 BSGPreventInlining (@" inlining" );
119- [self .client notifyErrorOrException: exception stackStripDepth: 2 block: block];
126+ [self .client notifyErrorOrException: exception stackStripDepth: 2 options: nil block: block];
127+ }
128+ }
129+
130+ + (void )notify : (NSException *)exception options : (BugsnagErrorOptions *)options block : (BugsnagOnErrorBlock)block {
131+ if ([self bugsnagReadyForInternalCalls ]) {
132+ BSGPreventInlining (@" inlining" );
133+ [self .client notifyErrorOrException: exception stackStripDepth: 2 options: options block: block];
120134 }
121135}
122136
123137+ (void )notifyError : (NSError *)error {
124138 if ([self bugsnagReadyForInternalCalls ]) {
125139 BSGPreventInlining (@" and" );
126- [self .client notifyErrorOrException: error stackStripDepth: 2 block: nil ];
140+ [self .client notifyErrorOrException: error stackStripDepth: 2 options: nil block: nil ];
141+ }
142+ }
143+
144+ + (void )notifyError : (NSError *)error options : (BugsnagErrorOptions *)options {
145+ if ([self bugsnagReadyForInternalCalls ]) {
146+ BSGPreventInlining (@" and" );
147+ [self .client notifyErrorOrException: error stackStripDepth: 2 options: options block: nil ];
127148 }
128149}
129150
130151+ (void )notifyError : (NSError *)error block : (BugsnagOnErrorBlock)block {
131152 if ([self bugsnagReadyForInternalCalls ]) {
132153 BSGPreventInlining (@" outlining" );
133- [self .client notifyErrorOrException: error stackStripDepth: 2 block: block];
154+ [self .client notifyErrorOrException: error stackStripDepth: 2 options: nil block: block];
155+ }
156+ }
157+
158+ + (void )notifyError : (NSError *)error options : (BugsnagErrorOptions *)options block : (BugsnagOnErrorBlock)block {
159+ if ([self bugsnagReadyForInternalCalls ]) {
160+ BSGPreventInlining (@" outlining" );
161+ [self .client notifyErrorOrException: error stackStripDepth: 2 options: options block: block];
134162 }
135163}
136164
0 commit comments