@ngrx/data 20.0.1 → 20.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/fesm2022/ngrx-data.mjs
CHANGED
|
@@ -548,7 +548,7 @@ function makeSuccessOp(op) {
|
|
|
548
548
|
*/
|
|
549
549
|
class DataServiceError extends Error {
|
|
550
550
|
constructor(error, requestData) {
|
|
551
|
-
super(typeof error === 'string' ? error : extractMessage(error) ?? undefined);
|
|
551
|
+
super(typeof error === 'string' ? error : (extractMessage(error) ?? undefined));
|
|
552
552
|
this.error = error;
|
|
553
553
|
this.requestData = requestData;
|
|
554
554
|
this.name = this.constructor.name;
|