Skip to content

Commit 4458f39

Browse files
committed
doc: add pending coupon payment error
1 parent 609cdd9 commit 4458f39

11 files changed

+36
-1
lines changed

docs/include/interface.update-coupon-rates.json

+4
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,10 @@
3333
{
3434
"code": "INVALID_PAST_RATE",
3535
"message": "Due coupon rates can not be modified"
36+
},
37+
{
38+
"code": "PENDING_COUPON_PAYMENT",
39+
"message": "Pending due coupon payment"
3640
}
3741
]
3842
}

docs/include/interface.update-global-unit-value.json

+4
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,10 @@
2525
{
2626
"code": "SUSPENDED",
2727
"message": "Asset operations are suspended"
28+
},
29+
{
30+
"code": "PENDING_COUPON_PAYMENT",
31+
"message": "Pending due coupon payment"
2832
}
2933
]
3034
}

docs/include/interface.update-interest-rate.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
},
2929
{
3030
"code": "PENDING_COUPON_PAYMENT",
31-
"message": "ending due coupon payment"
31+
"message": "Pending due coupon payment"
3232
}
3333
]
3434
}

docs/include/interface.update-time-events.json

+4
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,10 @@
4141
{
4242
"code": "INVALID_PAST_EVENT",
4343
"message": "Past time events can not be modified"
44+
},
45+
{
46+
"code": "PENDING_COUPON_PAYMENT",
47+
"message": "Pending due coupon payment"
4448
}
4549
]
4650
}

docs/include/interface.update-time-periods.json

+4
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,10 @@
2929
{
3030
"code": "INVALID_TIME_PERIOD",
3131
"message": "Time period durations must be greater than zero"
32+
},
33+
{
34+
"code": "PENDING_COUPON_PAYMENT",
35+
"message": "Pending due coupon payment"
3236
}
3337
]
3438
}

docs/include/interface.update-total-units.json

+4
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,10 @@
2525
{
2626
"code": "SUSPENDED",
2727
"message": "Asset operations are suspended"
28+
},
29+
{
30+
"code": "PENDING_COUPON_PAYMENT",
31+
"message": "Pending due coupon payment"
2832
}
2933
]
3034
}

docs/interface-update-coupon-rates.md

+3
Original file line numberDiff line numberDiff line change
@@ -16,3 +16,6 @@ length of the *coupon rates* is not equal to *total_coupons*.
1616

1717
The call **MUST** fail with the `INVALID_PAST_RATE` error code if a due coupon rate
1818
is modified.
19+
20+
The call **MUST** fail with the `PENDING_COUPON_PAYMENT` error code if there is
21+
any due coupon still to be paid.

docs/interface-update-global-unit-value.md

+3
Original file line numberDiff line numberDiff line change
@@ -10,3 +10,6 @@ caller.
1010
The call **MUST** fail with the `DEFAULTED` error code if the asset is defaulted.
1111

1212
The call **MAY** fail with the `SUSPENDED` error code if the asset is suspended.
13+
14+
The call **MUST** fail with the `PENDING_COUPON_PAYMENT` error code if there is
15+
any due coupon still to be paid.

docs/interface-update-time-events.md

+3
Original file line numberDiff line numberDiff line change
@@ -22,3 +22,6 @@ are not sorted in strictly ascending order.
2222

2323
The call **MUST** fail with the `INVALID_PAST_EVENT` error code if a past event
2424
is modified.
25+
26+
The call **MUST** fail with the `PENDING_COUPON_PAYMENT` error code if there is
27+
any due coupon still to be paid.

docs/interface-update-time-periods.md

+3
Original file line numberDiff line numberDiff line change
@@ -13,3 +13,6 @@ The call **MAY** fail with the `SUSPENDED` error code if the asset is suspended.
1313

1414
The call **MUST** fail with the `INVALID_TIME_PERIOD` error code if the *time period
1515
durations* are not strictly greater than zero.
16+
17+
The call **MUST** fail with the `PENDING_COUPON_PAYMENT` error code if there is
18+
any due coupon still to be paid.

docs/interface-update-total-units.md

+3
Original file line numberDiff line numberDiff line change
@@ -10,3 +10,6 @@ caller.
1010
The call **MUST** fail with the `DEFAULTED` error code if the asset is defaulted.
1111

1212
The call **MAY** fail with the `SUSPENDED` error code if the asset is suspended.
13+
14+
The call **MUST** fail with the `PENDING_COUPON_PAYMENT` error code if there is
15+
any due coupon still to be paid.

0 commit comments

Comments
 (0)