8 lines
313 B
TypeScript
8 lines
313 B
TypeScript
|
/**訊息框相關 */
|
||
|
export default class CSMessage {
|
||
|
/**網路錯誤訊息 */
|
||
|
public static NetError(method: string, state: number, str: string = ""): void {
|
||
|
let error = String.Format("[{0}] state:{1} {2}", method, state, str);
|
||
|
console.warn("網路錯誤訊息: ", error);
|
||
|
}
|
||
|
}
|