Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions packages/core/types/client.d.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import Breadcrumb from './breadcrumb'
import {
NotifiableError,
BreadcrumbType,
OnErrorCallback,
OnSessionCallback,
Expand All @@ -16,7 +15,7 @@ declare class Client {

// reporting errors
public notify(
error: NotifiableError,
error: Error,
onError?: OnErrorCallback,
cb?: (err: any, event: Event) => void
): void;
Expand Down
5 changes: 0 additions & 5 deletions packages/core/types/common.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -73,11 +73,6 @@ export interface SessionPayload {
sessions: Session[]
}

export type NotifiableError = Error
| { errorClass: string, errorMessage: string }
| { name: string, message: string }
| string

export type BreadcrumbType = 'error' | 'log' | 'manual' | 'navigation' | 'process' | 'request' | 'state' | 'user';

interface Device {
Expand Down