home | O'Reilly's CD bookshelfs | FreeBSD | Linux | Cisco | Cisco Exam  


is_error

 $

resp


->is_error
()

Returns true when the response code is 400 through 599. When an error occurs, you might want to use error_as_HTML to generate an HTML explanation of the error.