mirror of
https://github.com/corda/corda.git
synced 2024-12-19 04:57:58 +00:00
[NOTICK]: Update to Contract Extension Error Message
Update to Contract Extension Error Message
This commit is contained in:
commit
7f89577f83
@ -16,7 +16,7 @@ class AttachmentWithContext(
|
|||||||
) : Attachment by contractAttachment {
|
) : Attachment by contractAttachment {
|
||||||
init {
|
init {
|
||||||
require(contract in contractAttachment.allContracts) {
|
require(contract in contractAttachment.allContracts) {
|
||||||
"This AttachmentWithContext was not initialised properly"
|
"This AttachmentWithContext was not initialised properly. Please ensure all Corda contracts extending existing Corda contracts also implement the Contract base class."
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user