AnewtHTTPException class

HTTP exception.

Class Overview

HTTP exception.

Public Methods

__construct($status_code, $fmt=null, $args=null)

Construct a new AnewtException.

Parameters

$status_code

The HTTP status code for this error. This should be one of the HTTP_STATUS_* constants.

$fmt

A sprintf-like format string (optional)

$args

The arguments for the format string placeholders

See also

Inheritance

Base Classes