<?php
/**
 * Created by JetBrains PhpStorm.
 * User: Jure
 * Date: 11.3.14
 * Time: 16:16
 * To change this template use File | Settings | File Templates.
 */
class HttpClient_Exception extends Exception
{}
class HttpClient_UnknownResponse extends HttpClient_Exception
{}

// HTTP Errors
/* 401-499 */
class HttpClient_ClientError extends HttpClient_Exception
{}
/* 400 */
class HttpClient_BadRequest extends HttpClient_ClientError
{}
/* 401 */
class HttpClient_Unauthorized extends HttpClient_ClientError
{}
/* 403 */
class HttpClient_Forbidden extends HttpClient_ClientError
{}
/* 404 */
class HttpClient_NotFound extends HttpClient_ClientError
{}
/* 405 */
class HttpClient_MethodNotAllowed extends HttpClient_ClientError
{}
/* 409 */
class HttpClient_Conflict extends HttpClient_ClientError
{}
/* 410 */
class HttpClient_Gone extends HttpClient_ClientError
{}
/* 422 */
class HttpClient_InvalidRecord extends HttpClient_ClientError
{}
/* 500-599 */
class HttpClient_ServerError extends HttpClient_ClientError
{}

// CURL Errors
/* init */
class HttpClient_Curl_Init extends HttpClient_Exception
{}
/* meta */
class Pest_Curl_Meta extends HttpClient_Exception
{}
/* exec */
class HttpClient_Curl_Exec extends HttpClient_Exception
{}