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

Method getGithubErrorMessage

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

Source from the content-addressed store, hash-verified

291 }
292
293 private function getGithubErrorMessage(array $responseData): string {
294 if (isset($responseData['message']) && is_string($responseData['message'])) {
295 return $responseData['message'];
296 }
297
298 return '';
299 }
300
301 private function buildPackageUrl(array $option): string {
302 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