Link Search Menu Expand Document

danog\MadelineProto\Exception

Back to index

Author: Daniil Gentili daniil@daniil.it

Basic exception.

Method list:

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

Methods:

extension(string $extensionName): self

Complain about missing extensions.

Parameters:

  • $extensionName: string Extension name

exceptionErrorHandler(): false

ExceptionErrorHandler. Error handler

exceptionHandler(): void

ExceptionErrorHandler. Error handler

updateTLTrace(array $trace): void

Update TL trace.

Parameters:

  • $trace: array

getTLTrace(): string

Get TL trace.

setTLTrace(string $tlTrace): void

Set TL trace.

Parameters:

  • $tlTrace: string TL trace

prettifyTL(string $init, array $trace): void

Generate async trace.

Parameters:

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

Generated by danog/phpdoc