(
public readonly code:
"invalid-report" | "unsupported-version" | "resource-limit" | "unsupported-browser",
message: string,
)
| 1 | export class ShareError extends Error { |
| 2 | constructor( |
| 3 | public readonly code: |
| 4 | "invalid-report" | "unsupported-version" | "resource-limit" | "unsupported-browser", |
| 5 | message: string, |
| 6 | ) { |
| 7 | super(message); |
| 8 | this.name = "ShareError"; |
| 9 | } |
| 10 | } |
| 11 | |
| 12 | export interface ShareLimits { |
nothing calls this directly
no outgoing calls
no test coverage detected