From 95d6d14500c36e96836f0b74a845e31c04dec62c Mon Sep 17 00:00:00 2001 From: "(quasar) nebula" Date: Sat, 6 Jan 2024 09:04:54 -0400 Subject: data, yaml: make CacheableObjectPropertyValueError formally translucent --- src/data/things/cacheable-object.js | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/data/things') diff --git a/src/data/things/cacheable-object.js b/src/data/things/cacheable-object.js index a8610fad..6b8d5def 100644 --- a/src/data/things/cacheable-object.js +++ b/src/data/things/cacheable-object.js @@ -356,6 +356,8 @@ export default class CacheableObject { } export class CacheableObjectPropertyValueError extends Error { + [Symbol.for('hsmusic.aggregate.translucent')] = true; + constructor(property, oldValue, newValue, error) { super( `Error setting ${colors.green(property)} (${inspect(oldValue)} -> ${inspect(newValue)})`, -- cgit 1.3.0-6-gf8a5