summaryrefslogtreecommitdiff
path: root/core/decoders/hextile.js
diff options
context:
space:
mode:
Diffstat (limited to 'core/decoders/hextile.js')
-rw-r--r--core/decoders/hextile.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/decoders/hextile.js b/core/decoders/hextile.js
index 91141aa..04336df 100644
--- a/core/decoders/hextile.js
+++ b/core/decoders/hextile.js
@@ -37,7 +37,7 @@ export default class HextileDecoder {
let subencoding = rQ[rQi]; // Peek
if (subencoding > 30) { // Raw
- throw Error("Illegal hextile subencoding (subencoding: " +
+ throw new Error("Illegal hextile subencoding (subencoding: " +
subencoding + ")");
}