mirror of
https://github.com/corda/corda.git
synced 2025-01-30 08:04:16 +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 {
|
||||
init {
|
||||
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…
x
Reference in New Issue
Block a user