Options
All
  • Public
  • Public/Protected
  • All
Menu

Records a verification. A CLI verifier might log this in the stdout, while a web verifier could show it in HTML.

Hierarchy

  • VRecorder

Implemented by

Index

Properties

Methods

Properties

Readonly hasFailures

hasFailures: boolean

Returns wether there was any verification that failed

Methods

record

  • record(status: boolean, context: string[], name: string, title: string): void
  • Record a verification.

    Note that multiple calls with the same verification id could happen, but if any of them is a failure they should be end up recorded internall as a failure for that VerificationId.

    Parameters

    • status: boolean

      Status of the verification

    • context: string[]

      List of contexts of the verification, a context could be "contest 1"

    • name: string

      Camel case name of the verification

    • title: string

      Title of the verification

    Returns void

Generated using TypeDoc