File tree Expand file tree Collapse file tree 1 file changed +11
-15
lines changed Expand file tree Collapse file tree 1 file changed +11
-15
lines changed Original file line number Diff line number Diff line change @@ -79,21 +79,6 @@ export abstract class BaseBackend<O extends Options> implements Backend {
79
79
this . _transport = this . _setupTransport ( ) ;
80
80
}
81
81
82
- /**
83
- * @inheritDoc
84
- */
85
- // eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/explicit-module-boundary-types
86
- public eventFromException ( _exception : any , _hint ?: EventHint ) : PromiseLike < Event > {
87
- throw new SentryError ( 'Backend has to implement `eventFromException` method' ) ;
88
- }
89
-
90
- /**
91
- * @inheritDoc
92
- */
93
- public eventFromMessage ( _message : string , _level ?: Severity , _hint ?: EventHint ) : PromiseLike < Event > {
94
- throw new SentryError ( 'Backend has to implement `eventFromMessage` method' ) ;
95
- }
96
-
97
82
/**
98
83
* @inheritDoc
99
84
*/
@@ -158,4 +143,15 @@ export abstract class BaseBackend<O extends Options> implements Backend {
158
143
protected _setupTransport ( ) : Transport {
159
144
return new NoopTransport ( ) ;
160
145
}
146
+
147
+ /**
148
+ * @inheritDoc
149
+ */
150
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/explicit-module-boundary-types
151
+ public abstract eventFromException ( _exception : any , _hint ?: EventHint ) : PromiseLike < Event > ;
152
+
153
+ /**
154
+ * @inheritDoc
155
+ */
156
+ public abstract eventFromMessage ( _message : string , _level ?: Severity , _hint ?: EventHint ) : PromiseLike < Event > ;
161
157
}
You can’t perform that action at this time.
0 commit comments