eZPublishCommunityProject  2013.5
eZ\Publish\Core\Base\Exceptions\Httpable Interface Reference

Interface for exceptions that maps to http status codes. More...

+ Inheritance diagram for eZ\Publish\Core\Base\Exceptions\Httpable:

Public Attributes

const BAD_REQUEST = 400
 
const CONFLICT = 409
 
const FORBIDDEN = 403
 
const GONE = 410
 
const INTERNAL_ERROR = 500
 
const METHOD_NOT_ALLOWED = 405
 
const NOT_ACCEPTABLE = 406
 
const NOT_FOUND = 404
 
const NOT_IMPLEMENTED = 501
 
const PAYMENT_REQUIRED = 402
 
const SERVICE_UNAVAILABLE = 503
 
const UNAUTHORIZED = 401
 
const UNSUPPORTED_MEDIA_TYPE = 415
 

Detailed Description

Interface for exceptions that maps to http status codes.

The constants must be used as error code for this to be usable

Member Data Documentation

const eZ\Publish\Core\Base\Exceptions\Httpable::BAD_REQUEST = 400
const eZ\Publish\Core\Base\Exceptions\Httpable::CONFLICT = 409
const eZ\Publish\Core\Base\Exceptions\Httpable::FORBIDDEN = 403
const eZ\Publish\Core\Base\Exceptions\Httpable::GONE = 410
const eZ\Publish\Core\Base\Exceptions\Httpable::INTERNAL_ERROR = 500
const eZ\Publish\Core\Base\Exceptions\Httpable::METHOD_NOT_ALLOWED = 405
const eZ\Publish\Core\Base\Exceptions\Httpable::NOT_ACCEPTABLE = 406
const eZ\Publish\Core\Base\Exceptions\Httpable::NOT_FOUND = 404
const eZ\Publish\Core\Base\Exceptions\Httpable::NOT_IMPLEMENTED = 501
const eZ\Publish\Core\Base\Exceptions\Httpable::PAYMENT_REQUIRED = 402
const eZ\Publish\Core\Base\Exceptions\Httpable::SERVICE_UNAVAILABLE = 503
const eZ\Publish\Core\Base\Exceptions\Httpable::UNAUTHORIZED = 401
const eZ\Publish\Core\Base\Exceptions\Httpable::UNSUPPORTED_MEDIA_TYPE = 415

The documentation for this interface was generated from the following file: