From 5b253f1a3d9a52a4839f852bf68536b91e773cd1 Mon Sep 17 00:00:00 2001 From: stdlib-bot Date: Fri, 24 Jul 2026 03:25:11 +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 f5e8b1a..c076a60 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('00n00') ); } - // EXPORTS // module.exports = polyfill; diff --git a/package.json b/package.json index ec3024c..6cdc288 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",