Variable codesConst

codes: {
    ERR_INVALID_SIGNATURE: string;
    ERR_INVALID_SIGNATURE_POLICY: string;
    ERR_MISSING_FROM: string;
    ERR_MISSING_KEY: string;
    ERR_MISSING_SEQNO: string;
    ERR_MISSING_SIGNATURE: string;
    ERR_TOPIC_VALIDATOR_REJECT: string;
    ERR_UNEXPECTED_FROM: string;
    ERR_UNEXPECTED_KEY: string;
    ERR_UNEXPECTED_SEQNO: string;
    ERR_UNEXPECTED_SIGNATURE: string;
    ERR_UNHANDLED_SIGNATURE_POLICY: string;
} = ...

Type declaration

  • ERR_INVALID_SIGNATURE: string

    Message signature is invalid

  • ERR_INVALID_SIGNATURE_POLICY: string

    Signature policy is invalid

  • ERR_MISSING_FROM: string

    Message expected to have a from, but doesn't

  • ERR_MISSING_KEY: string

    Message expected to have a key, but doesn't

  • ERR_MISSING_SEQNO: string

    Message expected to have a seqno, but doesn't

  • ERR_MISSING_SIGNATURE: string

    Message expected to have a signature, but doesn't

  • ERR_TOPIC_VALIDATOR_REJECT: string

    Message failed topic validator

  • ERR_UNEXPECTED_FROM: string

    Message expected to not have a from, but does

  • ERR_UNEXPECTED_KEY: string

    Message expected to not have a key, but does

  • ERR_UNEXPECTED_SEQNO: string

    Message expected to not have a seqno, but does

  • ERR_UNEXPECTED_SIGNATURE: string

    Message expected to not have a signature, but does

  • ERR_UNHANDLED_SIGNATURE_POLICY: string

    Signature policy is unhandled