@contember/react-multipass-rendering
Advanced tools
Comparing version 1.1.0-alpha.11 to 1.1.0-alpha.12
@@ -9,9 +9,5 @@ var __defProp = Object.defineProperty; | ||
constructor(message, options) { | ||
super(message); | ||
__publicField(this, "cause"); | ||
super(message, options); | ||
__publicField(this, "details"); | ||
this.details = options?.details; | ||
if (typeof options === "object" && "cause" in options) { | ||
this.cause = options.cause; | ||
} | ||
} | ||
@@ -18,0 +14,0 @@ } |
@@ -9,9 +9,5 @@ var __defProp = Object.defineProperty; | ||
constructor(message, options) { | ||
super(message); | ||
__publicField(this, "cause"); | ||
super(message, options); | ||
__publicField(this, "details"); | ||
this.details = options?.details; | ||
if (typeof options === "object" && "cause" in options) { | ||
this.cause = options.cause; | ||
} | ||
} | ||
@@ -18,0 +14,0 @@ } |
export declare class ChildrenAnalyzerError extends Error { | ||
cause?: unknown; | ||
details?: string; | ||
constructor(message: string, options?: { | ||
cause: unknown; | ||
cause: Error; | ||
details?: string; | ||
@@ -7,0 +6,0 @@ }); |
{ | ||
"name": "@contember/react-multipass-rendering", | ||
"license": "Apache-2.0", | ||
"version": "1.1.0-alpha.11", | ||
"version": "1.1.0-alpha.12", | ||
"type": "module", | ||
@@ -6,0 +6,0 @@ "sideEffects": false, |
export class ChildrenAnalyzerError extends Error { | ||
public cause?: unknown | ||
public details?: string | ||
constructor(message: string, options?: { cause: unknown, details?: string }) { | ||
super(message) | ||
constructor(message: string, options?: { cause: Error, details?: string }) { | ||
super(message, options) | ||
this.details = options?.details | ||
if ((typeof options === 'object' && 'cause' in options)) { | ||
this.cause = options.cause | ||
} | ||
} | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
171324
1282