explain.... EXPLAIN! E X P L A I N !!!!
parent
1ae1b43fb7
commit
57172ce9a9
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "frigid",
|
"name": "frigid",
|
||||||
"version": "1.3.5",
|
"version": "1.3.6",
|
||||||
"main": "out/index.js",
|
"main": "out/index.js",
|
||||||
"types": "out/index.d.ts",
|
"types": "out/index.d.ts",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
|
|
|
||||||
|
|
@ -122,7 +122,7 @@ export default class Serializable {
|
||||||
return matchingClasses[0].fromSerializableObject(val, instances);
|
return matchingClasses[0].fromSerializableObject(val, instances);
|
||||||
} else {
|
} else {
|
||||||
throw new Error('Unknown class ' + val[Serializable.CLASS_REFERENCE] + '!\n' +
|
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);
|
return transformObject(val);
|
||||||
|
|
|
||||||
Reference in New Issue