Overview

Namespaces

  • Racoon
    • Api
      • Auth
      • Exception
      • Response
        • Format
        • Generate
      • Schema

Exceptions

  • AuthenticationException
  • Exception
  • InvalidArgumentException
  • InvalidJsonException
  • InvalidRouteException
  • NotFoundException
  • ResponseFormattingException
  • Overview
  • Namespace
  • Class

Class Exception

Exception implements Throwable
Extended by Racoon\Api\Exception\Exception

Direct known subclasses

Racoon\Api\Exception\AuthenticationException, Racoon\Api\Exception\InvalidArgumentException, Racoon\Api\Exception\InvalidJsonException, Racoon\Api\Exception\InvalidRouteException, Racoon\Api\Exception\NotFoundException, Racoon\Api\Exception\ResponseFormattingException
Namespace: Racoon\Api\Exception
Located at Exception/Exception.php
Methods summary
public
# __construct( Racoon\Api\Request $request, $displayAsError, $message, $code = 0, Racoon\Api\Exception\Exception $previous = null )

Overrides

Exception::__construct()
public Racoon\Api\Request|null
# getRequest( )

Returns

Racoon\Api\Request|null
public
# setRequest( Racoon\Api\Request|null $request = null )

Parameters

$request
public boolean
# shouldDisplayAsError( )

Returns

boolean
public
# setDisplayAsError( boolean $displayAsError )

Parameters

$displayAsError
Methods inherited from Exception
__toString(), __wakeup(), getCode(), getFile(), getLine(), getMessage(), getPrevious(), getTrace(), getTraceAsString()
Properties summary
protected Racoon\Api\Request $request
#
protected boolean $displayAsError
#
Properties inherited from Exception
$code, $file, $line, $message
API documentation generated by ApiGen