/** * @param string $message a human readable message * @param string $error_code the error code */ public function __construct($message, $error_code) { parent::__construct($message, self::$CODE); $this->error_code = $error_code; }
public function __construct($message) { parent::__construct($message, self::$CODE); }