Dev Guide
Dev GuideUser GuideGitHubNuGetDevCommunitySubmit a ticketLog In
GitHubNuGetDevCommunitySubmit a ticket

JobNotFoundError

OCP App SDK / JobNotFoundError

JobNotFoundError

Error thrown when a job run is not found.

Hierarchy

Index

Constructors

Properties

Methods

Constructors

constructor()

Signature

new JobNotFoundError(message?: string): JobNotFoundError;

Parameters

NameType
message?string

Returns

JobNotFoundError

Inherited from: JobApiError.constructor

Defined in: node_modules/typescript/lib/lib.es5.d.ts:1059

Properties

message

string

Inherited from: JobApiError.message

Defined in: node_modules/typescript/lib/lib.es5.d.ts:1054

name

string

Inherited from: JobApiError.name

Defined in: node_modules/typescript/lib/lib.es5.d.ts:1053

stack?

string

Inherited from: JobApiError.stack

Defined in: node_modules/typescript/lib/lib.es5.d.ts:1055

prepareStackTrace?

Function

Type declaration

Optional override for formatting stack traces

See

https://v8.dev/docs/stack-trace-api#customizing-stack-traces

Signature
(err: Error, stackTraces: CallSite[]): any;
Parameters
NameType
errError
stackTracesCallSite[]
Returns

any

Inherited from: JobApiError.prepareStackTrace

Defined in: node_modules/@types/node/globals.d.ts:11

stackTraceLimit

Static number

Inherited from: JobApiError.stackTraceLimit

Defined in: node_modules/@types/node/globals.d.ts:13

Methods

captureStackTrace()

Create .stack property on a target object

Signature

Static captureStackTrace(targetObject: object, constructorOpt?: Function): void;

Parameters

NameType
targetObjectobject
constructorOpt?Function

Returns

void

Inherited from: JobApiError.captureStackTrace

Defined in: node_modules/@types/node/globals.d.ts:4