mirror of
https://github.com/hanzoai/sentinel.git
synced 2026-09-29 22:34:33 +00:00
17 lines
330 B
TypeScript
17 lines
330 B
TypeScript
import type {ExceptionValue} from 'sentry/types';
|
|
|
|
export function ExceptionValueFixture(
|
|
props: Partial<ExceptionValue> = {}
|
|
): ExceptionValue {
|
|
return {
|
|
mechanism: null,
|
|
rawStacktrace: null,
|
|
stacktrace: null,
|
|
threadId: null,
|
|
type: 'BadError',
|
|
value: 'message',
|
|
module: null,
|
|
...props,
|
|
};
|
|
}
|