Overview

Namespaces

  • Html2Text
  • Izberg
    • Exception
    • Resource
      • Category

Exceptions

  • BadRequestException
  • ForbiddenException
  • GenericException
  • HttpException
  • InternalErrorException
  • MethodNotAllowedException
  • NotFoundException
  • UnauthorizedException
  • Overview
  • Namespace
  • Class

Class ForbiddenException

Represents an HTTP 403 error.

Exception
Extended by RuntimeException
Extended by Izberg\Exception\HttpException
Extended by Izberg\Exception\ForbiddenException
Namespace: Izberg\Exception
Located at Exception/ForbiddenException.php
Methods summary
public
# __construct( string $message = null, string $code = 403 )

Constructor

Constructor

Parameters

$message
If no message is given 'Forbidden' will be the message
$code
Status code, defaults to 403
Methods inherited from Exception
__toString(), __wakeup(), getCode(), getFile(), getLine(), getMessage(), getPrevious(), getTrace(), getTraceAsString()
Properties inherited from Exception
$code, $file, $line, $message
API documentation generated by ApiGen