#include <object.h>
|
static Object | create (ExecState *exec, ErrorType errtype=GeneralError, const char *message=0, int lineno=-1, int sourceId=-1) |
|
|
static const char *const *const | errorNames = errorNamesArr |
|
Factory methods for error objects.
Definition at line 626 of file object.h.
◆ create()
Object Error::create |
( |
ExecState * |
exec, |
|
|
ErrorType |
errtype = GeneralError , |
|
|
const char * |
message = 0 , |
|
|
int |
lineno = -1 , |
|
|
int |
sourceId = -1 |
|
) |
| |
|
static |
Factory method for error objects.
- Parameters
-
exec | The current execution state |
errtype | Type of error. |
message | Optional error message. |
lineno | Optional line number. |
sourceId | Optional source id. |
Definition at line 503 of file object.cpp.
◆ errorNames
const char *const *const Error::errorNames = errorNamesArr |
|
static |
Array of error names corresponding to ErrorType.
Definition at line 644 of file object.h.
The documentation for this class was generated from the following files: