class Error

# class Error | Factory methods for error objects. More...
Full name | `KJS::Error`
Definition | `#include <object.h>`
List of all Methods
Annotated List
Files
Globals
Hierarchy
Index

#### Public Static Methods

- static Object create (ExecState *exec, ErrorType errtype = GeneralError, const char *message = 0, int lineno = -1, int sourceId = -1)

#### Public Members

- static const char * const * const errorNames

## Detailed Description

Object create (ExecState *exec, ErrorType errtype = GeneralError, const char *message = 0, int lineno = -1, int sourceId = -1) | ### create

[static]

Factory method for error objects.

Parameters:

exec | The current execution state
errtype | Type of error.
message | Optional error message.
lineno | Optional line number.
lineno | Optional source id.

static const char * const * const errorNames | ### errorNames

Generated by: root on macppc.ports.openbsd.org on Sat Sep 6 10:37:28 2003, using kdoc 2.0a54.