Link Search Menu Expand Document

danog\MadelineProto\Exception

Back to index

Author: Daniil Gentili daniil@daniil.it

Basic exception.

Method list:

  • extension(string $extensionName)
  • exceptionErrorHandler(): false
  • exceptionHandler()
  • updateTLTrace()
  • getTLTrace()
  • setTLTrace(string $tlTrace)
  • prettifyTL(string $init, array $trace)

Methods:

extension(string $extensionName)

Complain about missing extensions.

Parameters:

  • $extensionName: string Extension name

exceptionErrorHandler(): false

ExceptionErrorHandler. Error handler

exceptionHandler()

ExceptionErrorHandler. Error handler

updateTLTrace()

Update TL trace.

getTLTrace()

Get TL trace.

setTLTrace(string $tlTrace)

Set TL trace.

Parameters:

  • $tlTrace: string TL trace

prettifyTL(string $init, array $trace)

Generate async trace.

Parameters:

  • $init: string Method name
  • $trace: array Async trace

Generated by danog/phpdoc