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: