ICanBoogie
  • Documentation
  • API Reference
  • HTTP master
Namespaces
  • ICanBoogie
    • Exception
    • HTTP
      • Headers
      • Request
      • RequestDispatcher
Classes
  • CallableDispatcher
  • DispatcherProvider
  • File
  • FileInfo
  • FileList
  • FileResponse
  • Headers
  • ProvideDispatcher
  • RedirectResponse
  • Request
  • RequestDispatcher
  • RequestOptionsMapper
  • RequestRange
  • Response
  • Status
  • WeightedDispatcher
Interfaces
  • Dispatcher
  • Exception
  • FileOptions
  • RequestMethods
  • RequestOptions
  • ResponseStatus
  • SecurityError
Exceptions
  • AuthenticationRequired
  • ClientError
  • DispatcherNotDefined
  • DispatcherProviderNotDefined
  • ForceRedirect
  • MethodNotSupported
  • NotFound
  • PermissionRequired
  • ServerError
  • ServiceUnavailable
  • StatusCodeNotValid

Class PermissionRequired

Exception thrown when a user lacks a required permission.

Exception implements Throwable
┗ ICanBoogie\HTTP\ClientError implements ICanBoogie\HTTP\Exception
┗ ICanBoogie\HTTP\PermissionRequired implements ICanBoogie\HTTP\SecurityError
Namespace: ICanBoogie\HTTP
Located at PermissionRequired.php

Methods summary

public __construct( $message = self::DEFAULT_MESSAGE, $code = Status::UNAUTHORIZED, ICanBoogie\HTTP\Exception $previous = null )

Inheritdoc

Overrides

ICanBoogie\HTTP\ClientError::__construct

Methods inherited from Exception

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

Constants summary

DEFAULT_MESSAGE : string
"You don't have the required permission."

Properties summary

Properties inherited from Exception

$code, $file, $line, $message

HTTP master – Check on GitHub – API documentation generated by ApiGen