diff --git a/website/docs/api/bigint-money/createBigIntMoney/add.md b/website/docs/api/bigint-money/createBigIntMoney/add.md index 3e2aac1..5207539 100644 --- a/website/docs/api/bigint-money/createBigIntMoney/add.md +++ b/website/docs/api/bigint-money/createBigIntMoney/add.md @@ -20,6 +20,10 @@ Additions can be performed using add(). `money` ([BigIntMoneyBase](Description.md#bigintmoneybase)) +#### Throws + +`TypeError` - throws if currencies aren't identical + **Example** diff --git a/website/docs/api/bigint-money/createBigIntMoney/methods.md b/website/docs/api/bigint-money/createBigIntMoney/methods.md index 37b4cb1..bbb3f46 100644 --- a/website/docs/api/bigint-money/createBigIntMoney/methods.md +++ b/website/docs/api/bigint-money/createBigIntMoney/methods.md @@ -19,6 +19,10 @@ Additions can be performed using add(). `money` ([BigIntMoneyBase](Description.md#bigintmoneybase)) +#### Throws + +`TypeError` - throws if currencies aren't identical + **Example** @@ -548,4 +552,4 @@ const result = money.subtract(money2); result.getAmount(); // => -1n -``` \ No newline at end of file +``` diff --git a/website/docs/api/bignumber.js/createBigNumberMoney/add.md b/website/docs/api/bignumber.js/createBigNumberMoney/add.md index 1cd6add..889549f 100644 --- a/website/docs/api/bignumber.js/createBigNumberMoney/add.md +++ b/website/docs/api/bignumber.js/createBigNumberMoney/add.md @@ -19,6 +19,10 @@ Additions can be performed using add(). `money` ([MoneyBase](Description.md#moneybase)) +#### Throws + +`TypeError` - throws if currencies aren't identical + #### Example ```js diff --git a/website/docs/api/bignumber.js/createBigNumberMoney/methods.md b/website/docs/api/bignumber.js/createBigNumberMoney/methods.md index 55eae30..fe9a0b7 100644 --- a/website/docs/api/bignumber.js/createBigNumberMoney/methods.md +++ b/website/docs/api/bignumber.js/createBigNumberMoney/methods.md @@ -43,6 +43,10 @@ Additions can be performed using add(). `money` ([MoneyBase](Description.md#moneybase)) +#### Throws + +`TypeError` - throws if currencies aren't identical + #### Example ```js