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

  • Readonly KeyServiceNotAccessible: {
        code: "KEY_SERVICE_NOT_ACCESSIBLE";
        message: "The Key service is not accessible. Please contact Axinom support.";
    }
    • Readonly code: "KEY_SERVICE_NOT_ACCESSIBLE"
    • Readonly message: "The Key service is not accessible. Please contact Axinom support."
  • Readonly 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.";
    }
    • Readonly code: "SERVICE_ID_NOT_FOUND"
    • Readonly 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."
  • Readonly SignatureValidationFailed: {
        code: "SIGNATURE_VALIDATION_FAILED";
        message: "Event signature validation has failed. The source of event message might be untrustworthy. Please contact Axinom Support.";
    }
    • Readonly code: "SIGNATURE_VALIDATION_FAILED"
    • Readonly message: "Event signature validation has failed. The source of event message might be untrustworthy. Please contact Axinom Support."
  • Readonly 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.";
    }
    • Readonly code: "SIGNING_HEADERS_MISSING"
    • Readonly message: "The received event message is missing either signature or version headers. The source of message might be untrustworthy. Please contact Axinom Support."
  • Readonly 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.";
    }
    • Readonly code: "SIGNING_PUBLIC_KEY_NOT_FOUND"
    • Readonly message: "Unable to find the public signing key for service with ID '%s' and version %s. Please contact Axinom Support."
  • Readonly 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.";
    }
    • Readonly code: "UNEXPECTED_MESSAGE_TYPE"
    • Readonly message: "The received message has a type that the service does not expect. The source of message might be untrustworthy. Please contact Axinom Support."

Generated using TypeDoc