\PrestaShopExceptionCore

Summary

Methods
Properties
Constants
displayMessage()
No public properties found
No constants found
displayFileDebug()
displayArgsDebug()
logError()
getExentedMessage()
getExtendedMessage()
No protected properties found
N/A
No private methods found
No private properties found
N/A

Methods

displayMessage()

displayMessage() 

This method acts like an error handler, if dev mode is on, display the error else use a better silent way

displayFileDebug()

displayFileDebug(string  $file, integer  $line, string  $id = null) 

Display lines around current line

Parameters

string $file
integer $line
string $id

displayArgsDebug()

displayArgsDebug(array  $args, string  $id) 

Display arguments list of traced function

Parameters

array $args

List of arguments

string $id

ID of argument

logError()

logError() 

Log the error on the disk

getExentedMessage()

getExentedMessage(  $html = true) 

Parameters

$html

getExtendedMessage()

getExtendedMessage(  $html = true) : string

Return the content of the Exception

Parameters

$html

Returns

string —

content of the exception