@@ -272,7 +272,7 @@ class Bank {
272272
273273 exchange (money , to ) {
274274 if (! (money instanceof Money))
275- throw new TypeError (` # {money} is not an instance of Money` );
275+ throw new TypeError (` $ { money} is not an instance of Money` );
276276
277277 const toCurrency = Currency .wrap (to);
278278 if (toCurrency === money .currency ) return money;
@@ -306,7 +306,7 @@ class Money {
306306 this .value = Number .parseFloat (value);
307307 this .currency = Currency .wrap (currency);
308308 if (! (bank instanceof Bank))
309- throw new TypeError (` # {bank} is not an instance of Bank` );
309+ throw new TypeError (` $ { bank} is not an instance of Bank` );
310310 this .bank = bank;
311311 }
312312
@@ -339,7 +339,7 @@ class Money {
339339 this .value = Number .parseFloat (value);
340340 this .currency = Currency .wrap (currency);
341341 if (! (bank instanceof Bank))
342- throw new TypeError (` # {bank} is not an instance of Bank` );
342+ throw new TypeError (` $ { bank} is not an instance of Bank` );
343343 this .bank = bank;
344344 }
345345
@@ -498,7 +498,7 @@ class Bank {
498498
499499 exchange (money , to ) {
500500 if (! (money instanceof Money))
501- throw new TypeError (` # {money} is not an instance of Money` );
501+ throw new TypeError (` $ { money} is not an instance of Money` );
502502
503503 const toCurrency = Currency .wrap (to);
504504 if (toCurrency === money .currency ) return money;
@@ -523,7 +523,7 @@ class Money {
523523 this .value = Number .parseFloat (value);
524524 this .currency = Currency .wrap (currency);
525525 if (! (bank instanceof Bank))
526- throw new TypeError (` # {bank} is not an instance of Bank` );
526+ throw new TypeError (` $ { bank} is not an instance of Bank` );
527527 this .bank = bank;
528528 }
529529
0 commit comments