Overview

Namespaces

  • api
  • config
  • database
  • PHP
  • Slim
    • Exception
    • Http
    • Middleware
  • utiliy

Classes

  • ContentTypes
  • Flash
  • MethodOverride
  • PrettyExceptions
  • SessionCookie
  • Overview
  • Namespace
  • Class
  • Tree

Class PrettyExceptions

Pretty Exceptions

This middleware catches any Exception thrown by the surrounded application and displays a developer-friendly diagnostic screen.

Slim\Middleware
Extended by Slim\Middleware\PrettyExceptions
Namespace: Slim\Middleware
Package: Slim
Author: Josh Lockhart
Since: 1.0.0
Located at thirdparty/Slim/Middleware/PrettyExceptions.php
Methods summary
public
# __construct( array $settings = array() )

Constructor

Constructor

Parameters

$settings
array
$settings
public
# call( )

Call

Call

protected string
# renderBody( array & $env, Exception $exception )

Render response body

Render response body

Parameters

$env
array
$env
$exception
Exception
$exception

Returns

string
Methods inherited from Slim\Middleware
getApplication(), getNextMiddleware(), setApplication(), setNextMiddleware()
Properties summary
protected array $settings
#
Properties inherited from Slim\Middleware
$app, $next
GeoApi API documentation generated by ApiGen 2.8.0