mirror of
https://github.com/corda/corda.git
synced 2024-12-18 20:47:57 +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…
Reference in New Issue
Block a user