24 lines
523 B
JavaScript
24 lines
523 B
JavaScript
"use strict";
|
|||
|
|
|
||
|
|
exports.__esModule = true;
|
||
|
|
exports.DetailedCellError = void 0;
|
||
|
|
/**
|
||
|
|
* @license
|
||
|
|
* Copyright (c) 2024 Handsoncode. All rights reserved.
|
||
|
|
*/
|
||
|
|
class DetailedCellError {
|
||
|
|
constructor(error, value, address) {
|
||
|
|
var _a;
|
||
|
|
this.value = value;
|
||
|
|
this.address = address;
|
||
|
|
this.type = error.type;
|
||
|
|
this.message = (_a = error.message) !== null && _a !== void 0 ? _a : '';
|
||
|
|
}
|
||
|
|
toString() {
|
||
|
|
return this.value;
|
||
|
|
}
|
||
|
|
valueOf() {
|
||
|
|
return this.value;
|
||
|
|
}
|
||
|
|
}
|
||
|
|
exports.DetailedCellError = DetailedCellError;
|