data class Result
val error: NotaryError?
val sig: LegallyIdentifiable?
fun noError(sig: LegallyIdentifiable): Result
fun withError(error: NotaryError): Result