[NOTICK]: Update to Contract Extension Error Message

Update to Contract Extension Error Message
This commit is contained in:
Jonathan Locke 2019-08-28 13:16:58 +01:00 committed by GitHub
commit 7f89577f83
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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."
}
}
}