MCPcopy Create free account
hub / github.com/TheThingsNetwork/lorawan-stack / isBackendErrorDetails

Function isBackendErrorDetails

pkg/webui/lib/errors/utils.js:66–70  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

64 * `false` otherwise.
65 */
66export const isBackendErrorDetails = details =>
67 Boolean(details) &&
68 Boolean(details.namespace) &&
69 Boolean(details.name) &&
70 Boolean(details.message_format)
71
72/**
73 * Returns whether the error has a shape that is not well-known.

Callers 5

getSentryErrorTitleFunction · 0.85
getBackendErrorDetailsFunction · 0.85
hasCausesFunction · 0.85
toMessagePropsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected