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

Function isFrontend

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

Source from the content-addressed store, hash-verified

55 * @returns {boolean} `true` if `error` is a well known frontend error object.
56 */
57export const isFrontend = error => Boolean(error) && typeof error === 'object' && error.isFrontend
58
59/**
60 * Returns whether `details` is a backend error details object.

Callers 7

DeviceImporterFunction · 0.90
processor.jsFile · 0.90
isUnknownFunction · 0.85
httpStatusCodeFunction · 0.85
isTranslatedFunction · 0.85
getSentryErrorTitleFunction · 0.85
toMessagePropsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected