BEdita API doc | 4-cactus
  • Namespace
  • Class
  • Tree
  • Deprecated
  • Download

Namespaces

  • BEdita
    • API
      • Auth
      • Controller
        • Admin
        • Component
        • Model
      • Error
      • Event
      • Exception
      • Middleware
      • Model
        • Action
      • Network
        • Exception
      • Shell
      • TestSuite
      • Utility
    • Core
      • Configure
        • Engine
      • Database
        • Type
      • Exception
      • Filesystem
        • Adapter
        • Exception
        • Thumbnail
      • I18n
      • Job
        • Service
      • Mailer
        • Preview
        • Transport
      • Model
        • Action
        • Behavior
        • Entity
        • Table
        • Validation
      • ORM
        • Inheritance
        • Locator
        • Rule
      • Shell
        • Task
      • State
      • TestSuite
        • Fixture
      • Utility

Classes

  • ErrorHandler
  • ExceptionRenderer

Class ExceptionRenderer

Exception renderer.

Cake\Error\ExceptionRenderer
Extended by BEdita\API\Error\ExceptionRenderer
Namespace: BEdita\API\Error
Since: 4.0.0
Located at API/src/Error/ExceptionRenderer.php

Methods summary

public
# __construct( Exception $exception )

Codecoverageignore

public
# render( )
protected
# _message( Exception $error, $status )
protected string
# errorDetail( Exception $error )

Human readable error detail from error attributes In case of 'detail' array, format like this is expected [ ['field1' => ['unique' => 'The provided value is invalid']], ['field2' => [...]], ],

Human readable error detail from error attributes In case of 'detail' array, format like this is expected [ ['field1' => ['unique' => 'The provided value is invalid']], ['field2' => [...]], ],

Parameters

$error
Exception.

Returns

string
Error message
protected string
# appErrorCode( Exception $error )

Application specific error code.

Application specific error code.

Parameters

$error
Exception.

Returns

string
Error code
protected
# _outputMessageSafe( $template )
protected
# _template( Exception $exception, $method, $status )
BEdita API doc | 4-cactus API documentation generated by ApiGen