-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
144071a
commit 46a7c74
Showing
4 changed files
with
73 additions
and
28 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
import type { IBrowser, ICPU, IDevice, IEngine, IOS } from "ua-parser-js"; | ||
|
||
export interface VideomailErrorData { | ||
cause?: any; | ||
err?: Error | undefined; | ||
explanation?: string | undefined; | ||
logLines?: string[] | undefined; | ||
message: string; | ||
promise?: Promise<any> | undefined; | ||
reason?: any; | ||
siteName?: string | undefined; | ||
title: string; | ||
trace?: string | undefined; | ||
code?: string | undefined; | ||
status?: number | undefined; | ||
stack?: string | undefined; | ||
|
||
// These are weird and probably not needed but help with narrowing down issues | ||
// They come mostly from Videomail's proprietary UI code | ||
errConstraint?: string | undefined; | ||
errConstructorName?: string | undefined; | ||
errName?: string | undefined; | ||
errNo?: number | undefined; | ||
errType?: string | undefined; | ||
errTarget?: EventTarget | null; | ||
event?: Event | undefined; | ||
eventStringified?: string | undefined; | ||
} | ||
|
||
export interface FullVideomailErrorData extends VideomailErrorData { | ||
browser: IBrowser; | ||
cookie?: string | undefined; | ||
cpu?: ICPU | undefined; | ||
device?: IDevice | undefined; | ||
engine: IEngine; | ||
location: string; | ||
orientation?: string | undefined; | ||
os?: IOS | undefined; | ||
screen: string; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters