Overview
  • Namespace
  • Class
  • Tree

Namespaces

  • Modulework
    • Modules
      • Http
        • Exceptions
        • Utilities
  • PHP

Interfaces

  • HttpExceptionInterface

Exceptions

  • HttpNotFoundException

Interface HttpExceptionInterface

HttpExceptionInterface All HTTP releated excpetions should implement this.

Direct known implementers

Modulework\Modules\Http\Exceptions\HttpNotFoundException

Namespace: Modulework\Modules\Http\Exceptions
Located at Modulework/Modules/Http/Exceptions/HttpExceptionInterface.php

Methods summary

public
# __construct( integer $code = null, string $message = null, Exception $previous = null )

Constructor.

Constructor.

The message can be be ommited and will be figured out by the Response class.

Parameters

$code
integer
$code The http status code
$message
string
$message The messages
$previous
Exceptions
$previous Previous exception (if nested)
public integer
# getStatusCode( )

Returns the status code for this exception

Returns the status code for this exception

Returns

integer
The code

Magic methods summary

API documentation generated by ApiGen 2.8.0