@actions/artifact / NetworkError
-
Error
↳
NetworkError
• new NetworkError(code
): NetworkError
Name | Type |
---|---|
code |
string |
Error.constructor
src/internal/shared/errors.ts:42
• code: string
src/internal/shared/errors.ts:40
• message: string
Error.message
node_modules/typescript/lib/lib.es5.d.ts:1068
• name: string
Error.name
node_modules/typescript/lib/lib.es5.d.ts:1067
• Optional
stack: string
Error.stack
node_modules/typescript/lib/lib.es5.d.ts:1069
▪ Static
Optional
prepareStackTrace: (err
: Error
, stackTraces
: CallSite
[]) => any
▸ (err
, stackTraces
): any
Optional override for formatting stack traces
Name | Type |
---|---|
err |
Error |
stackTraces |
CallSite [] |
any
See
https://v8.dev/docs/stack-trace-api#customizing-stack-traces
Error.prepareStackTrace
node_modules/@types/node/globals.d.ts:11
▪ Static
stackTraceLimit: number
Error.stackTraceLimit
node_modules/@types/node/globals.d.ts:13
▸ captureStackTrace(targetObject
, constructorOpt?
): void
Create .stack property on a target object
Name | Type |
---|---|
targetObject |
object |
constructorOpt? |
Function |
void
Error.captureStackTrace
node_modules/@types/node/globals.d.ts:4
▸ isNetworkErrorCode(code?
): boolean
Name | Type |
---|---|
code? |
string |
boolean