public static function messageFromHttpStatusCode($httpStatusCode)
    {
        $message = sprintf('HTTP %s', $httpStatusCode);
        switch ($httpStatusCode) {
            case 400:
                $message .= ' Bad Request (invalid parameters for the API endpoint)';
                break;
            case 401:
                $message .= ' Unauthorized (check that your API key is correct)';
                break;
            case 403:
                $message .= ' Forbidden (you do not have access to this API endpoint)';
                break;
            case 404:
                $message .= ' API Endpoint not found or parameters were incorrect. Check method and URL';
                break;
            case 429:
                $message .= ' Rate limit hit, decrease request speed';
                break;
            case 500:
                $message .= ' Server error (Mobius error)';
                break;
            case 503:
                $message .= ' Server temporarily offline for maintenance';
                break;
        }

        return $message;
    }