@actions/artifact / UsageError
-
Error
↳
UsageError
• new UsageError(): UsageError
Error.constructor
src/internal/shared/errors.ts:62
• 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
▸ isUsageErrorMessage(msg?
): boolean
Name | Type |
---|---|
msg? |
string |
boolean