#include <object.h>

Static Public Member Functions

static JSObject * create (ExecState *, ErrorType, const UString &message, int lineNumber, int sourceId, const UString &sourceURL)
static JSObject * create (ExecState *, ErrorType, const char *message)

Static Public Attributes

static const char *const *const errorNames = errorNamesArr

Detailed Description

Factory methods for error objects.

Definition at line 576 of file object.h.

Member Function Documentation

JSObject * KJS::Error::create ( ExecState exec,
ErrorType  errtype,
const UString message,
int  lineNumber,
int  sourceId,
const UString sourceURL 

Factory method for error objects.

execThe current execution state
errtypeType of error.
messageOptional error message.
lineNumberOptional line number.
sourceIdOptional source id.
sourceURLOptional source URL.

Definition at line 813 of file object.cpp.

Member Data Documentation

const char *const *const KJS::Error::errorNames = errorNamesArr

Array of error names corresponding to ErrorType.

Definition at line 595 of file object.h.

The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
Documentation copyright © 1996-2021 The KDE developers.
Generated on Mon Jan 18 2021 23:02:24 by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.