Class ConnectionHealthStatusCodes

Status codes and detail keys returned by the ConnectionHealthCheckHooks.checkConnectionHealth() hook. The BM connection-health endpoint translates the returned Status into a health payload using these values.

See Also:

ConstantDescription
DETAIL_MESSAGE: String = “message”Status detail key for the human-readable status message.
DETAIL_REMEDIATION: String = “remediation”Status detail key for the merchant-facing remediation hint.
STATUS_CODE_DEGRADED: String = “DEGRADED”Status code that indicates a degraded connection (partial functionality available).
STATUS_CODE_UNHEALTHY: String = “UNHEALTHY”Status code that indicates the connection is unhealthy.
ConstructorDescription
ConnectionHealthStatusCodes()

assign, create, create, defineProperties, defineProperty, entries, freeze, fromEntries, getOwnPropertyDescriptor, getOwnPropertyNames, getOwnPropertySymbols, getPrototypeOf, hasOwnProperty, is, isExtensible, isFrozen, isPrototypeOf, isSealed, keys, preventExtensions, propertyIsEnumerable, seal, setPrototypeOf, toLocaleString, toString, valueOf, values

DETAIL_MESSAGE: String = "message"

Status detail key for the human-readable status message.


DETAIL_REMEDIATION: String = "remediation"

Status detail key for the merchant-facing remediation hint.


STATUS_CODE_DEGRADED: String = "DEGRADED"

Status code that indicates a degraded connection (partial functionality available).


STATUS_CODE_UNHEALTHY: String = "UNHEALTHY"

Status code that indicates the connection is unhealthy.


ConnectionHealthStatusCodes()