You are viewing a single comment's thread.

view the rest of the comments →

0
6

[–] kilroy 0 points 6 points (+6|-0) ago 

if ($response->error) { // sometimes our response times out
// do something
} else { // but the dude abides
// do something else
}