KnpLabs/php-github-api — pull request #17 by m4tthumphrey (2012-11-02 14:40:08+00:00)
Title: Add fall back message for custom error messages

Github also throws `custom` error messages and the switch doesn't catch it.

[errors] => Array
(
[0] => Array
(
[code] => custom
[resource] => Repository
[field] => name
[message] => name can't be private. You are over your quota.
)
)

Adding a `default` fixes this.