GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • MediaWiki Frontend API
  • Home
  • Modules
  • jquery.confirmable
  • jquery.highlightText
  • jquery.lengthLimit
  • jquery.makeCollapsible
  • jquery.spinner
  • jquery.suggestions
  • jquery.tablesorter
  • jquery.textSelection
  • mediawiki.DateFormatter
  • mediawiki.ForeignApi
  • mediawiki.String

This view

  • Original page
  • New address

GeezerVison is showing doc.wikimedia.org — Namespace: errorLogger, MediaWiki Frontend API, JSDoc

Allows the logging of client errors for later inspections.

Methods

logError(error, [topic])static #

Logs an error by notifying subscribers to the given mw.track() topic (by default error.caught) that an event has occurred.

Parameters:

Name Type Attributes Default Description
error Error
topic string optional
'error.caught'

Error topic. Conventionally in the form 'error.⧼component⧽' (where ⧼component⧽ identifies the code logging the error at a high level; e.g. an extension name).

Source:
  • mediawiki.base/errorLogger.js, line 76

Logs an error by notifying subscribers to the given mw.track() topic (by default error.caught) that an event has occurred.

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.