febs-browser
Advanced tools
Comparing version 1.0.7 to 1.0.8
@@ -17,5 +17,6 @@ 'use strict'; | ||
* @param line: 异常文件所在行 | ||
* @param column: 异常文件所在列 | ||
* @return: | ||
*/ | ||
constructor(msg, code, filename, line) { | ||
constructor(msg, code, filename, line, column) { | ||
super(code + " " + msg); | ||
@@ -26,2 +27,3 @@ this.code = code; | ||
this.line = line; | ||
this.column = column||0; | ||
} | ||
@@ -28,0 +30,0 @@ |
@@ -91,3 +91,3 @@ { | ||
"name": "febs-browser", | ||
"version": "1.0.7" | ||
"version": "1.0.8" | ||
} |
@@ -1165,7 +1165,6 @@ | ||
// | ||
// exception. | ||
export class exception extends Error { | ||
constructor(msg: string, code: string, filename: string, line: number); | ||
constructor(msg: string, code: string, filename: string, line: number, column?: number); | ||
@@ -1179,3 +1178,5 @@ /** @desc: 错误代码 */ | ||
/** @desc: 错误所在行 */ | ||
line: string; | ||
line: number; | ||
/** @desc: 错误所在列 */ | ||
column: number; | ||
} | ||
@@ -1182,0 +1183,0 @@ |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
4025215
35327