rune-langium / codegen/src/export / ProjectBindingUnavailable
Class: ProjectBindingUnavailable
Defined in: packages/codegen/src/runtime/project-bindings.ts:27
Extends
Error
Constructors
Constructor
ts
new ProjectBindingUnavailable(message?): ProjectBindingUnavailable;Defined in: node_modules/.pnpm/[email protected]/node_modules/typescript/lib/lib.es5.d.ts:1080
Parameters
| Parameter | Type |
|---|---|
message? | string |
Returns
ProjectBindingUnavailable
Inherited from
Error.constructor
Constructor
ts
new ProjectBindingUnavailable(message?, options?): ProjectBindingUnavailable;Defined in: node_modules/.pnpm/[email protected]/node_modules/typescript/lib/lib.es5.d.ts:1080
Parameters
| Parameter | Type |
|---|---|
message? | string |
options? | ErrorOptions |
Returns
ProjectBindingUnavailable
Inherited from
Error.constructor
Properties
| Property | Type | Inherited from | Defined in |
|---|---|---|---|
cause? | unknown | Error.cause | node_modules/.pnpm/[email protected]/node_modules/typescript/lib/lib.es2022.error.d.ts:24 |
message | string | Error.message | node_modules/.pnpm/[email protected]/node_modules/typescript/lib/lib.es5.d.ts:1075 |
name | string | Error.name | node_modules/.pnpm/[email protected]/node_modules/typescript/lib/lib.es5.d.ts:1074 |
stack? | string | Error.stack | node_modules/.pnpm/[email protected]/node_modules/typescript/lib/lib.es5.d.ts:1076 |
Methods
isError()
ts
static isError(error): error is Error;Defined in: node_modules/.pnpm/[email protected]/node_modules/typescript/lib/lib.esnext.error.d.ts:21
Indicates whether the argument provided is a built-in Error instance or not.
Parameters
| Parameter | Type |
|---|---|
error | unknown |
Returns
error is Error
Inherited from
Error.isError