JobNotFoundError
OCP App SDKOCP App SDK
OCP App SDKOCP App SDK / JobNotFoundError
Class: JobNotFoundError
Defined in: src/jobs/JobNotFoundError.ts:6
Error thrown when a job run is not found.
Extends
- `JobApiError`JobApiError
Constructors
Constructor
Defined in: node_modules/typescript/lib/lib.es5.d.ts:1082
Parameters
message?
string
Returns
JobNotFoundError
Inherited from
`JobApiError`JobApiError.`constructor`constructor
Constructor
Defined in: node_modules/typescript/lib/lib.es5.d.ts:1082
Parameters
message?
string
options?
ErrorOptions
Returns
JobNotFoundError
Inherited from
`JobApiError`JobApiError.`constructor`constructor
Properties
cause?
Defined in: node_modules/typescript/lib/lib.es2022.error.d.ts:26
Inherited from
`JobApiError`JobApiError.`cause`cause
message
Defined in: node_modules/typescript/lib/lib.es5.d.ts:1077
Inherited from
`JobApiError`JobApiError.`message`message
name
Defined in: node_modules/typescript/lib/lib.es5.d.ts:1076
Inherited from
`JobApiError`JobApiError.`name`name
stack?
Defined in: node_modules/typescript/lib/lib.es5.d.ts:1078
Inherited from
`JobApiError`JobApiError.`stack`stack
prepareStackTrace()?
Defined in: node_modules/@types/node/globals.d.ts:143
Optional override for formatting stack traces
Parameters
err
Error
stackTraces
CallSite[]
Returns
any
See
Inherited from
`JobApiError`JobApiError.`prepareStackTrace`prepareStackTrace
stackTraceLimit
Defined in: node_modules/@types/node/globals.d.ts:145
Inherited from
`JobApiError`JobApiError.`stackTraceLimit`stackTraceLimit
Methods
captureStackTrace()
Defined in: node_modules/@types/node/globals.d.ts:136
Create .stack property on a target object
Parameters
targetObject
object
constructorOpt?
Function
Returns
void
Inherited from
`JobApiError`JobApiError.`captureStackTrace`captureStackTrace