From 7f089e3060884b72b268afd2ba876aa37d43b0c5 Mon Sep 17 00:00:00 2001 From: stdlib-bot Date: Wed, 20 May 2026 20:23:31 +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 f124998..ec6e6ac 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 78a0067..811f0db 100644 --- a/package.json +++ b/package.json @@ -52,7 +52,7 @@ "@stdlib/number-uint8-base-to-binary-string": "^0.2.3", "@stdlib/process-node-version": "^0.2.3", "@stdlib/random-base-randu": "^0.2.3", - "@stdlib/string-format": "^0.2.3", + "@stdlib/error-tools-fmtprodmsg": "^0.2.3", "proxyquire": "^2.0.0", "tape": "git+https://github.com/kgryte/tape.git#fix/globby", "istanbul": "^0.4.1",