« get me outta code hell

non-jpg full res art links, artist avatars - hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
path: root/src/data/cacheable-object.js
diff options
context:
space:
mode:
author(quasar) nebula <qznebula@protonmail.com>2022-03-05 21:34:59 -0400
committer(quasar) nebula <qznebula@protonmail.com>2022-03-05 21:34:59 -0400
commit3bbeea69c6356edd5792ac7898b9623c2e1519de (patch)
treebd8727673d528e5b540db2b2dc51627ca209819b /src/data/cacheable-object.js
parent21c6220356b3769b6321bd64e85398fee618cfb1 (diff)
non-jpg full res art links, artist avatars
Diffstat (limited to 'src/data/cacheable-object.js')
-rw-r--r--src/data/cacheable-object.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/data/cacheable-object.js b/src/data/cacheable-object.js
index 99280956..4afb0368 100644
--- a/src/data/cacheable-object.js
+++ b/src/data/cacheable-object.js
@@ -169,7 +169,7 @@ export default class CacheableObject {
             const oldValue = this.#propertyUpdateValues[property];
 
             if (newValue === undefined) {
-                throw new ValueError(`Properties cannot be set to undefined`);
+                throw new TypeError(`Properties cannot be set to undefined`);
             }
 
             if (newValue === oldValue) {