PEAR_Error::PEAR_Error()

PEAR_Error::PEAR_Error() – konstruktor

Synopsis

require_once 'PEAR.php';

void PEAR_Error::PEAR_Error ( string $message = 'unknown error' , integer $code = = null , integer $mode = = null , mixed $options = = null , string $userinfo = = null )

Description

Konstruktor

Parameter

  • string $message - wiadomość błędu. Zwięzły opis błędu lub problemu.

  • string $code - kod błędu. Liczba specyficzna dla błędu.

  • integer $mode - tryb błędu

  • mixed $options - ustawienia specyficzne dla trybu błędu

  • string $userinfo - łańcuch tekstowy na dodatkowe informacje lub informacje debugera

Note

This function can be called statically.