MCPcopy Create free account
hub / github.com/chartbrew/chartbrew / isSourceDisabledError

Function isSourceDisabledError

server/sources/sourceAvailability.js:63–65  ·  view source on GitHub ↗
(error)

Source from the content-addressed store, hash-verified

61}
62
63function isSourceDisabledError(error) {
64 return error?.code === SOURCE_DISABLED_ERROR_CODE;
65}
66
67function serializeSourceDisabledError(error) {
68 if (!isSourceDisabledError(error)) return null;

Callers 2

sendSourceDisabledErrorFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected