We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a482299 commit 821eb58Copy full SHA for 821eb58
exercises/tiered_pricing/solutions/xetxeberria-ts/src/tieredPricing.ts
@@ -9,7 +9,7 @@ const priceTiers = [
9
export function tieredPricing(licenseAmount: number): number {
10
if (licenseAmount < 0)
11
throw new Error(
12
- "Invalid license amount. License amount can not be negative"
+ `Invalid license amount <${licenseAmount}>. License amount can not be negative`
13
);
14
15
const licensePrice = calculateLicensePrice(licenseAmount);
0 commit comments