Commit da77143
committed
Add default error message
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.1 parent 3242cf5 commit da77143
1 file changed
+5
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
71 | 71 | | |
72 | 72 | | |
73 | 73 | | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
74 | 78 | | |
75 | 79 | | |
76 | 80 | | |
77 | | - | |
| 81 | + | |
78 | 82 | | |
79 | 83 | | |
80 | 84 | | |
| |||
0 commit comments