ILIAS  trunk Revision v11.0_alpha-1744-gb0451eebef4
All Data Structures Namespaces Files Functions Variables Enumerations Enumerator Modules Pages
ilTestingHandler Class Reference

A Whoops error handler for testing. More...

+ Inheritance diagram for ilTestingHandler:
+ Collaboration diagram for ilTestingHandler:

Public Member Functions

 generateResponse ()
 
- Public Member Functions inherited from ilPlainTextHandler
 withExclusionList (array $exclusion_list)
 
 generateResponse ()
 

Additional Inherited Members

- Protected Member Functions inherited from ilPlainTextHandler
 getSimpleExceptionOutput (Throwable $exception)
 
 getPlainTextExceptionOutput (bool $with_previous=true)
 Get a short info about the exception. More...
 
 tablesContent ()
 Get the header for the page. More...
 
 tables ()
 Get the tables that should be rendered. More...
 
- Protected Attributes inherited from ilPlainTextHandler
const KEY_SPACE = 25
 

Detailed Description

A Whoops error handler for testing.

This yields the same output as the plain text handler, but prints a nice message to the tester on top of the page.

Author
Richard Klees richa.nosp@m.rd.k.nosp@m.lees@.nosp@m.conc.nosp@m.epts-.nosp@m.and-.nosp@m.train.nosp@m.ing..nosp@m.de

Definition at line 27 of file class.ilTestingHandler.php.

Member Function Documentation

◆ generateResponse()

ilTestingHandler::generateResponse ( )

Definition at line 29 of file class.ilTestingHandler.php.

References ilPlainTextHandler\getPlainTextExceptionOutput().

29  : string
30  {
31  return "DEAR TESTER! AN ERROR OCCURRED... PLEASE INCLUDE THE FOLLOWING OUTPUT AS ADDITIONAL INFORMATION IN YOUR BUG REPORT.\n\n"
32  . $this->getPlainTextExceptionOutput();
33  }
getPlainTextExceptionOutput(bool $with_previous=true)
Get a short info about the exception.
+ Here is the call graph for this function:

The documentation for this class was generated from the following file: