MCPcopy Create free account
hub / github.com/Rello/analytics / getGithubErrorMessage

Method getGithubErrorMessage

lib/Datasource/Github.php:306–312  ·  view source on GitHub ↗
(array $responseData)

Source from the content-addressed store, hash-verified

304 }
305
306 private function getGithubErrorMessage(array $responseData): string {
307 if (isset($responseData['message']) && is_string($responseData['message'])) {
308 return $responseData['message'];
309 }
310
311 return '';
312 }
313
314 private function buildPackageUrl(array $option): string {
315 return 'https://api.github.com/orgs/' . rawurlencode($option['user']) . '/packages/container/' . rawurlencode($option['repository']);

Callers 1

getHttpErrorMessageMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected