8000 Transform error messages · stdlib-js/string-format@6b2c38e · GitHub
[go: up one dir, main page]

Skip to content

Commit 6b2c38e

Browse files
committed
Transform error messages
1 parent 0077619 commit 6b2c38e

File tree

Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ function format( str ) {
4949
var i;
5050

5151
if ( !isString( str ) ) {
52-
throw new TypeError( format( 'invalid argument. First argument must be a string. Value: `%s`.', str ) );
52+
throw new TypeError( format( '1Of3F,Ex', str ) );
5353
}
5454
args = [ tokenize( str ) ];
5555
for ( i = 1; i < arguments.length; i++ ) {