Overview

Namespaces

  • DSchoenbauer
    • Exception
      • Http
        • ClientError
        • ServerError
      • Platform

Exceptions

  • BadRequestException
  • ClientErrorException
  • ConflictException
  • ForbiddenException
  • NotAllowedException
  • NotFoundException
  • PayloadTooLargeException
  • PaymentRequiredException
  • UnauthorizedException
  • UnavailableForLegalReasonsException
  • UnprocessableEntityException
  • UnsupportedMediaType
  • UpgradeRequiredException
  • Overview
  • Namespace
  • Class

Class PayloadTooLargeException

The server is refusing to process a request because the request payload is larger than the server is willing or able to process.

The server MAY close the connection to prevent the client from continuing the request.

If the condition is temporary, the server SHOULD generate a Retry-After header field to indicate that it is temporary and after what time the client MAY try again.

Exception
Extended by RuntimeException
Extended by DSchoenbauer\Exception\Platform\RuntimeException implements DSchoenbauer\Exception\ExceptionInterface
Extended by DSchoenbauer\Exception\Http\ClientError\ClientErrorException implements DSchoenbauer\Exception\Http\HttpExceptionInterface
Extended by DSchoenbauer\Exception\Http\ClientError\PayloadTooLargeException
Namespace: DSchoenbauer\Exception\Http\ClientError
Author: David Schoenbauer dschoenbauer@gmail.com
Since: 1.0.0
Link: Source
Located at Exception/Http/ClientError/PayloadTooLargeException.php
Methods summary
public
# __construct( $maxPayloadSize = 0, $message = "" )
public mixed
# getMaxPayloadSize( )

Returns

mixed
representation of max payload size
public
# setMaxPayloadSize( type $maxPayloadSize )

Parameters

$maxPayloadSize
representation of max payload size

Returns


$this
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