1779. Class

1779.1. Zend\Stdlib\ErrorHandler

ErrorHandler that can be used to catch internal PHP errors and convert to a ErrorException instance.

1779.1.1. Methods

1779.1.1.1. started

started()

Check if this error handler is active

Return type:boolean

1779.1.1.2. getNestedLevel

getNestedLevel()

Get the current nested level

Return type:int

1779.1.1.3. start

start()

Starting the error handler

Parameters:int

1779.1.1.4. stop

stop()

Stopping the error handler

Parameters:bool – Throw the ErrorException if any
Return type:null|ErrorException
Throws :ErrorException If an error has been catched and $throw is true

1779.1.1.5. clean

clean()

Stop all active handler

Return type:void

1779.1.1.6. addError

addError()

Add an error to the stack

Parameters:
  • int
  • string
  • string
  • int
Return type:

void

Project Versions

Table Of Contents

Previous topic

1778. Function

Next topic

1780. Class

This Page