FROST Core TypeScript Library - v0.2.2-alpha.3
    Preparing search index...

    Class FrostError<C>

    An error related to FROST.

    Type Parameters

    Hierarchy

    • Error
      • FrostError
    Index

    Properties

    culpritIdentifiers: IdentifierLike<C>[]

    The identifier of signers whose share validation failed. Only populated for InvalidSignatureShare errors.

    culpritIdentifier: IdentifierLike<C> | null

    The identifier of the signer whose secret share or proof of knowledge validation failed. Only populated for InvalidSecretShare and InvalidProofOfKnowledge errors.

    fieldError: FieldError | null

    The underlying FieldError, if this error wraps one.

    groupError: GroupError | null

    The underlying GroupError, if this error wraps one.

    Methods

    • Return the identifiers of the participants that caused the error. Returns an empty array if not applicable for the error.

      This can be used to penalize participants that do not follow the protocol correctly, e.g. removing them from further signings.

      Returns IdentifierLike<C>[]