explain.... EXPLAIN! E X P L A I N !!!!

master
Valerie 2021-06-13 23:21:38 -04:00
parent 1ae1b43fb7
commit 57172ce9a9
2 changed files with 2 additions and 2 deletions

View File

@ -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",

View File

@ -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);