ICanBoogie
  • Documentation
  • API Reference
  • HTTP v2.4.0
Namespaces
  • ICanBoogie
    • Exception
    • HTTP
      • Dispatcher
      • Headers
      • Request
Classes
  • CallableDispatcher
  • Dispatcher
  • File
  • FileInfo
  • FileList
  • Headers
  • Helpers
  • RedirectResponse
  • Request
  • Response
  • Status
  • WeightedDispatcher
Interfaces
  • DispatcherInterface
  • Exception
Exceptions
  • DispatcherNotDefined
  • ForceRedirect
  • MethodNotSupported
  • NotFound
  • 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 = 500, 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.4.0 – Check on GitHub – API documentation generated by ApiGen