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

Skip to content

Commit a1b7fd1

Browse files
committed
Transform error messages
1 parent 73381a2 commit a1b7fd1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/main.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ function format( str ) {
5050
var i;
5151

5252
if ( !isString( str ) ) {
53-
throw new TypeError( format( 'invalid argument. First argument must be a string. Value: `%s`.', str ) );
53+
throw new TypeError( format( '1Of3F,Ex', str ) );
5454
}
5555
tokens = tokenize( str );
5656
args = new Array( arguments.length );

0 commit comments

Comments
 (0)
0