| | |
| | | |
| | | class ErrorObjectSerializer { |
| | | /** |
| | | * Creates an instance of ErrorObjectSerializer. |
| | | * @param {ErrorConstructor | EvalErrorConstructor | RangeErrorConstructor | ReferenceErrorConstructor | SyntaxErrorConstructor | TypeErrorConstructor} Type error type |
| | | */ |
| | | constructor(Type) { |
| | |
| | | } |
| | | |
| | | /** |
| | | * Serializes this instance into the provided serializer context. |
| | | * @param {Error | EvalError | RangeError | ReferenceError | SyntaxError | TypeError} obj error |
| | | * @param {ObjectSerializerContext} context context |
| | | */ |
| | |
| | | } |
| | | |
| | | /** |
| | | * Restores this instance from the provided deserializer context. |
| | | * @param {ObjectDeserializerContext} context context |
| | | * @returns {Error | EvalError | RangeError | ReferenceError | SyntaxError | TypeError} error |
| | | */ |