Jump to navigation

Class: Error

Numbas.Error

new Error(message, args, originalError)

Generic error class. Extends JavaScript's Error.

Parameters:
Name Type Description
message string

A description of the error. Localised by R.js.

args object

Arguments for the error message.

originalError Error

If this is a re-thrown error, the original error object.

Source: