Axinom Mosaic Libraries
    Preparing search index...

    Variable EventSigningErrorsConst

    EventSigningErrors: {
        KeyServiceNotAccessible: {
            code: "KEY_SERVICE_NOT_ACCESSIBLE";
            message: "The Key service is not accessible. Please contact Axinom support.";
        };
        ServiceIdNotFound: {
            code: "SERVICE_ID_NOT_FOUND";
            message: "The received message is missing a service ID at the start of the routing key or related message builder has no service ID. This is probably an implementation bug. Please contact the Service Support.";
        };
        SignatureValidationFailed: {
            code: "SIGNATURE_VALIDATION_FAILED";
            message: "Event signature validation has failed. The source of event message might be untrustworthy. Please contact Axinom Support.";
        };
        SigningHeadersMissing: {
            code: "SIGNING_HEADERS_MISSING";
            message: "The received event message is missing either signature or version headers. The source of message might be untrustworthy. Please contact Axinom Support.";
        };
        SigningPublicKeyNotFound: {
            code: "SIGNING_PUBLIC_KEY_NOT_FOUND";
            message: "Unable to find the public signing key for service with ID '%s' and version %s. Please contact Axinom Support.";
        };
        UnexpectedMessageType: {
            code: "UNEXPECTED_MESSAGE_TYPE";
            message: "The received message has a type that the service does not expect. The source of message might be untrustworthy. Please contact Axinom Support.";
        };
    } = ...

    Possible errors that are explicitly handled during event signing and validation.

    Type Declaration

    • ReadonlyKeyServiceNotAccessible: {
          code: "KEY_SERVICE_NOT_ACCESSIBLE";
          message: "The Key service is not accessible. Please contact Axinom support.";
      }
    • ReadonlyServiceIdNotFound: {
          code: "SERVICE_ID_NOT_FOUND";
          message: "The received message is missing a service ID at the start of the routing key or related message builder has no service ID. This is probably an implementation bug. Please contact the Service Support.";
      }
    • ReadonlySignatureValidationFailed: {
          code: "SIGNATURE_VALIDATION_FAILED";
          message: "Event signature validation has failed. The source of event message might be untrustworthy. Please contact Axinom Support.";
      }
    • ReadonlySigningHeadersMissing: {
          code: "SIGNING_HEADERS_MISSING";
          message: "The received event message is missing either signature or version headers. The source of message might be untrustworthy. Please contact Axinom Support.";
      }
    • ReadonlySigningPublicKeyNotFound: {
          code: "SIGNING_PUBLIC_KEY_NOT_FOUND";
          message: "Unable to find the public signing key for service with ID '%s' and version %s. Please contact Axinom Support.";
      }
    • ReadonlyUnexpectedMessageType: {
          code: "UNEXPECTED_MESSAGE_TYPE";
          message: "The received message has a type that the service does not expect. The source of message might be untrustworthy. Please contact Axinom Support.";
      }