exceptionValue.tsx 330 B

12345678910111213141516
  1. import type {ExceptionValue} from 'sentry/types';
  2. export function ExceptionValueFixture(
  3. props: Partial<ExceptionValue> = {}
  4. ): ExceptionValue {
  5. return {
  6. mechanism: null,
  7. rawStacktrace: null,
  8. stacktrace: null,
  9. threadId: null,
  10. type: 'BadError',
  11. value: 'message',
  12. module: null,
  13. ...props,
  14. };
  15. }