Skip to content

Commit 88bd6ee

Browse files
Add "NotConfigured" rejection code.
1 parent a0bb320 commit 88bd6ee

File tree

4 files changed

+30
-0
lines changed

4 files changed

+30
-0
lines changed

dist/golang/actions/resources.go

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11161,6 +11161,9 @@ const (
1116111161
// Inactive - The smart contract agent is inactive due to non payment or other reason.
1116211162
RejectionsInactive = 7
1116311163

11164+
// NotConfigured - The smart contract agent is missing necessary configuration information.
11165+
RejectionsNotConfigured = 8
11166+
1116411167
// ContractExists - The contract already exists and can't be recreated.
1116511168
RejectionsContractExists = 10
1116611169

@@ -11348,6 +11351,14 @@ func RejectionsData(code uint32) *RejectionsCode {
1134811351
MetaData: `{}`,
1134911352
}
1135011353

11354+
case RejectionsNotConfigured:
11355+
return &RejectionsCode{
11356+
Name: "NotConfigured",
11357+
Label: "Not Configured",
11358+
Description: "The smart contract agent is missing necessary configuration information.",
11359+
MetaData: `{}`,
11360+
}
11361+
1135111362
case RejectionsContractExists:
1135211363
return &RejectionsCode{
1135311364
Name: "ContractExists",
@@ -11708,6 +11719,13 @@ func RejectionsMap() map[uint32]*RejectionsCode {
1170811719
MetaData: `{}`,
1170911720
},
1171011721

11722+
RejectionsNotConfigured: &RejectionsCode{
11723+
Name: "NotConfigured",
11724+
Label: "Not Configured",
11725+
Description: "The smart contract agent is missing necessary configuration information.",
11726+
MetaData: `{}`,
11727+
},
11728+
1171111729
RejectionsContractExists: &RejectionsCode{
1171211730
Name: "ContractExists",
1171311731
Label: "Contract Already Exists",

dist/json/actions.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9171,6 +9171,12 @@
91719171
"label": "Inactive",
91729172
"name": "Inactive"
91739173
},
9174+
{
9175+
"code": 8,
9176+
"description": "The smart contract agent is missing necessary configuration information.",
9177+
"label": "Not Configured",
9178+
"name": "NotConfigured"
9179+
},
91749180
{
91759181
"code": 10,
91769182
"description": "The contract already exists and can't be recreated.",

dist/markdown/protocol-resources.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -825,6 +825,7 @@ Code/Text combinations returned in rejection messages when a request is not acce
825825
- DoubleSpend
826826
- Deprecated
827827
- Inactive
828+
- NotConfigured
828829
- ContractExists
829830
- ContractDoesNotExist
830831
- ContractInstrumentQtyReduction

src/resources/develop/Rejections.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,11 @@ values:
4747
label: Inactive
4848
description: The smart contract agent is inactive due to non payment or other reason.
4949

50+
- code: 8
51+
name: NotConfigured
52+
label: Not Configured
53+
description: The smart contract agent is missing necessary configuration information.
54+
5055
#################################### Contract ####################################
5156

5257
- code: 10

0 commit comments

Comments
 (0)