From d25f72d383487b1ae2c7a9d04af5808a4d4b7b95 Mon Sep 17 00:00:00 2001 From: stdlib-bot Date: Sat, 27 Jun 2026 04:17:15 +0000 Subject: [PATCH] Transform error messages --- lib/polyfill.js | 5 +++-- package.json | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/lib/polyfill.js b/lib/polyfill.js index 43e3bf4..59de21e 100644 --- a/lib/polyfill.js +++ b/lib/polyfill.js @@ -18,6 +18,8 @@ 'use strict'; +var format = require('@stdlib/error-tools-fmtprodmsg'); + // TODO: write polyfill // MAIN // @@ -28,10 +30,9 @@ * @throws {Error} not implemented */ function polyfill() { - throw new Error( 'not implemented' ); + throw new Error( format('00l00') ); } - // EXPORTS // module.exports = polyfill; diff --git a/package.json b/package.json index ba572ca..bd52db2 100644 --- a/package.json +++ b/package.json @@ -49,7 +49,7 @@ "@stdlib/math-base-special-pow": "^0.3.1", "@stdlib/random-base-randi": "^0.2.3", "@stdlib/random-base-randu": "^0.2.3", - "@stdlib/string-format": "^0.2.3", + "@stdlib/error-tools-fmtprodmsg": "^0.2.3", "@stdlib/symbol-iterator": "^0.2.3", "proxyquire": "^2.0.0", "tape": "git+https://github.com/kgryte/tape.git#fix/globby",