Skip to content

Conversation

@beardyman
Copy link
Contributor

closes #38

if ($statusCode === 404) {
throw new APIResponseException('The specified resource does not exist', 404);
}
throw new APIResponseException('Received bad response from '.ucfirst($this->endpoint).' API: '. $statusCode );
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

add spaces around concat operators

richleland added a commit that referenced this pull request Feb 25, 2016
version bump, error response handling
@richleland richleland merged commit 3c4f858 into master Feb 25, 2016
@avigoldman avigoldman deleted the issue38 branch June 24, 2016 20:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Wrong API key not throwing errors

3 participants