multi-party-computation-controller-api
    Preparing search index...

    Centralized human-readable message strings used across the application. Keeping them here avoids duplicating text in guards, services, and processors.

    Index

    Constructors

    Properties

    EMPTY_SIGNATURE_RESULT: string = "Engine returned an empty signature result."
    INVALID_AUTH_SCHEME: string = "Authorization header must use the Bearer scheme."
    INVALID_BEARER_TOKEN: string = "Invalid Bearer token."
    MISSING_AUTH_HEADER: string = "Missing Authorization header."

    Bearer token authentication messages.

    Methods

    • Formats a gRPC error from the Rust controller engine into a readable string.

      Parameters

      • code: number

        GRPC status code (numeric).

      • detail: string

        Error message returned by the engine.

      Returns string

      Formatted error string stored in the job's failedReason.

    • Parameters

      • jobId: string

        The identifier of the missing job.

      Returns string

      A descriptive error message.

    • Parameters

      • keyIdentifier: string

        The identifier whose metadata was not found.

      Returns string

      A descriptive error message.