Some checks failed
Build & Deploy / 🔍 Prepare (push) Successful in 20s
Build & Deploy / 🧪 QA (push) Failing after 34s
Build & Deploy / 🏗️ Build (push) Has started running
Build & Deploy / 🚀 Deploy (push) Has been cancelled
Build & Deploy / 🧪 Smoke Test (push) Has been cancelled
Build & Deploy / ⚡ Lighthouse (push) Has been cancelled
Build & Deploy / 🔔 Notify (push) Has been cancelled
13 lines
485 B
Plaintext
13 lines
485 B
Plaintext
import { Span, SpanOptions } from '../../';
|
|
/**
|
|
* Options needed for span creation
|
|
*/
|
|
export interface SugaredSpanOptions extends SpanOptions {
|
|
/**
|
|
* function to overwrite default exception behavior to record the exception. No exceptions should be thrown in the function.
|
|
* @param e Error which triggered this exception
|
|
* @param span current span from context
|
|
*/
|
|
onException?: (e: Error, span: Span) => void;
|
|
}
|
|
//# sourceMappingURL=SugaredOptions.d.ts.map |