From 57172ce9a9ebd74aeb00cc5e173e4865c5ae9084 Mon Sep 17 00:00:00 2001 From: Valerie Date: Sun, 13 Jun 2021 23:21:38 -0400 Subject: [PATCH] explain.... EXPLAIN! E X P L A I N !!!! --- package.json | 2 +- src/Serializable.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 412ffc6..8476d6a 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "frigid", - "version": "1.3.5", + "version": "1.3.6", "main": "out/index.js", "types": "out/index.d.ts", "license": "MIT", diff --git a/src/Serializable.ts b/src/Serializable.ts index 36bc052..b5d9d2d 100644 --- a/src/Serializable.ts +++ b/src/Serializable.ts @@ -122,7 +122,7 @@ export default class Serializable { return matchingClasses[0].fromSerializableObject(val, instances); } else { throw new Error('Unknown class ' + val[Serializable.CLASS_REFERENCE] + '!\n' + - 'Did you forget to add ' + val[Serializable.CLASS_REFERENCE] + ' to static serializationDependencies?'); + 'Did you forget to add ' + val[Serializable.CLASS_REFERENCE] + ` to ${this.name}.serializationDependencies?`); } } return transformObject(val);