FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
error-stack-parser/error-stack-parser.d.ts at master · stacktracejs/error-stack-parser · GitHub
Uh oh!
There was an error while loading.
Please reload this page
.
stacktracejs
/
error-stack-parser
Public
Notifications
You must be signed in to change notification settings
Fork
51
Star
486
Code
Issues
14
Pull requests
10
Actions
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Security and quality
Insights
Expand file tree
Breadcrumbs
error-stack-parser
/
error-stack-parser.d.ts
Copy path
More file actions
More file actions
Latest commit
History
History
History
19 lines (16 loc) · 597 Bytes
Breadcrumbs
error-stack-parser
/
error-stack-parser.d.ts
Copy path
File metadata and controls
19 lines (16 loc) · 597 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
// Type definitions for ErrorStackParser v2.1.0
// Project: https://github.com/stacktracejs/error-stack-parser
// Definitions by: Eric Wendelin <https://www.eriwen.com>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
import
StackFrame
=
require
(
"stackframe"
)
;
declare
namespace
ErrorStackParser
{
export
type
{
StackFrame
}
;
/**
* Given an Error object, extract the most information from it.
*
*
@param
{
Error
} error object
*
@return
{
Array
} of StackFrames
*/
export
function
parse
(
error
:
Error
)
:
StackFrame
[
]
;
}
export
=
ErrorStackParser
;
Back
|
FazBrowse Home
|
New Git URL