public final class V8ErrorTemplate
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
rangeErrorInvalidIndex(int index)
RangeError: Invalid index : ${index}.
|
static java.lang.String |
rangeErrorStartIsOutOfRange(int start)
RangeError: Start ${start} is out or range.
|
static java.lang.String |
typeErrorFunctionIsNotSupported(java.lang.String functionName)
TypeError: ${functionName}() is not supported.
|
static java.lang.String |
typeErrorReduceOfEmptyArrayWithNoInitialValue()
TypeError: Reduce of empty array with no initial value.
|
static java.lang.String |
typeErrorValueIsNotAFunction(java.lang.String functionName)
TypeError: ${value} is not a function.
|
static java.lang.String |
typeErrorValueIsNotAFunction(V8Value v8Value)
TypeError: ${value} is not a function.
|
public static java.lang.String rangeErrorInvalidIndex(int index)
index
- the indexpublic static java.lang.String rangeErrorStartIsOutOfRange(int start)
start
- the startpublic static java.lang.String typeErrorFunctionIsNotSupported(java.lang.String functionName)
functionName
- the function namepublic static java.lang.String typeErrorReduceOfEmptyArrayWithNoInitialValue()
public static java.lang.String typeErrorValueIsNotAFunction(java.lang.String functionName)
functionName
- the function namepublic static java.lang.String typeErrorValueIsNotAFunction(V8Value v8Value)
v8Value
- the V8 value