ICanBoogie
  • Documentation
  • API Reference
  • HTTP v2.5.0
Namespaces
  • ICanBoogie
    • Exception
    • HTTP
      • Headers
      • Request
      • RequestDispatcher
Classes
  • CallableDispatcher
  • File
  • FileInfo
  • FileList
  • FileResponse
  • Headers
  • RedirectResponse
  • Request
  • RequestDispatcher
  • RequestRange
  • Response
  • Status
  • WeightedDispatcher
Interfaces
  • Dispatcher
  • Exception
  • SecurityError
Exceptions
  • AuthenticationRequired
  • ClientError
  • DispatcherNotDefined
  • ForceRedirect
  • MethodNotSupported
  • NotFound
  • PermissionRequired
  • ServerError
  • ServiceUnavailable
  • StatusCodeNotValid

Class StatusCodeNotValid

Exception thrown when the HTTP status code is not valid.

Exception implements Throwable
┗ LogicException
┗ InvalidArgumentException
┗ ICanBoogie\HTTP\StatusCodeNotValid implements ICanBoogie\HTTP\Exception uses ICanBoogie\Accessor\AccessorTrait (not available)
Namespace: ICanBoogie\HTTP
Located at StatusCodeNotValid.php

Methods summary

protected get_status_code( void )
public __construct( $status_code, $message = null, $code = Status::INTERNAL_SERVER_ERROR, ICanBoogie\HTTP\Exception $previous = null )

Overrides

Exception::__construct

Methods inherited from Exception

__toString(), __wakeup(), getCode(), getFile(), getLine(), getMessage(), getPrevious(), getTrace(), getTraceAsString()

Properties summary

Properties inherited from Exception

$code, $file, $line, $message

Magic properties

public read-only $status_code : integer

The status code that is not supported.

HTTP v2.5.0 – Check on GitHub – API documentation generated by ApiGen