new ErrorUtil()
- Source:
Methods
(static) getMsg(error) → {string}
- Source:
获取错误信息
Parameters:
Name | Type | Description |
---|---|---|
error |
Error |
Returns:
- Type
- string
(static) getStack(error) → {string}
- Source:
获取堆栈信息
Parameters:
Name | Type | Description |
---|---|---|
error |
Error |
Returns:
- Type
- string