跳到正文

Interface: RolldownError

Defined in: node_modules/.pnpm/rolldown@1.0.0-rc.1/node_modules/rolldown/dist/shared/logging-wIy4zY9I.d.mts:43

Extends

Properties

binding?

ts
optional binding: string;

Defined in: node_modules/.pnpm/rolldown@1.0.0-rc.1/node_modules/rolldown/dist/shared/logging-wIy4zY9I.d.mts:9

Inherited from

RolldownLog.binding


cause?

ts
optional cause: unknown;

Defined in: node_modules/.pnpm/rolldown@1.0.0-rc.1/node_modules/rolldown/dist/shared/logging-wIy4zY9I.d.mts:10

Inherited from

RolldownLog.cause


code?

ts
optional code: string;

Defined in: node_modules/.pnpm/rolldown@1.0.0-rc.1/node_modules/rolldown/dist/shared/logging-wIy4zY9I.d.mts:15

The log code for this log object.

Example

ts
'PLUGIN_ERROR'

Inherited from

RolldownLog.code


exporter?

ts
optional exporter: string;

Defined in: node_modules/.pnpm/rolldown@1.0.0-rc.1/node_modules/rolldown/dist/shared/logging-wIy4zY9I.d.mts:16

Inherited from

RolldownLog.exporter


frame?

ts
optional frame: string;

Defined in: node_modules/.pnpm/rolldown@1.0.0-rc.1/node_modules/rolldown/dist/shared/logging-wIy4zY9I.d.mts:17

Inherited from

RolldownLog.frame


hook?

ts
optional hook: string;

Defined in: node_modules/.pnpm/rolldown@1.0.0-rc.1/node_modules/rolldown/dist/shared/logging-wIy4zY9I.d.mts:18

Inherited from

RolldownLog.hook


id?

ts
optional id: string;

Defined in: node_modules/.pnpm/rolldown@1.0.0-rc.1/node_modules/rolldown/dist/shared/logging-wIy4zY9I.d.mts:19

Inherited from

RolldownLog.id


ids?

ts
optional ids: string[];

Defined in: node_modules/.pnpm/rolldown@1.0.0-rc.1/node_modules/rolldown/dist/shared/logging-wIy4zY9I.d.mts:20

Inherited from

RolldownLog.ids


loc?

ts
optional loc: object;

Defined in: node_modules/.pnpm/rolldown@1.0.0-rc.1/node_modules/rolldown/dist/shared/logging-wIy4zY9I.d.mts:21

column

ts
column: number

file?

ts
optional file: string;

line

ts
line: number

Inherited from

RolldownLog.loc


message

ts
message: string

Defined in: node_modules/.pnpm/rolldown@1.0.0-rc.1/node_modules/rolldown/dist/shared/logging-wIy4zY9I.d.mts:30

The message for this log object.

Example

ts
'The "transform" hook used by the output plugin "rolldown-plugin-foo" is a build time hook and will not be run for that plugin. Either this plugin cannot be used as an output plugin, or it should have an option to configure it as an output plugin.'

Inherited from

RolldownLog.message


meta?

ts
optional meta: any;

Defined in: node_modules/.pnpm/rolldown@1.0.0-rc.1/node_modules/rolldown/dist/shared/logging-wIy4zY9I.d.mts:31

Inherited from

RolldownLog.meta


name?

ts
optional name: string;

Defined in: node_modules/.pnpm/rolldown@1.0.0-rc.1/node_modules/rolldown/dist/shared/logging-wIy4zY9I.d.mts:44


names?

ts
optional names: string[];

Defined in: node_modules/.pnpm/rolldown@1.0.0-rc.1/node_modules/rolldown/dist/shared/logging-wIy4zY9I.d.mts:32

Inherited from

RolldownLog.names


plugin?

ts
optional plugin: string;

Defined in: node_modules/.pnpm/rolldown@1.0.0-rc.1/node_modules/rolldown/dist/shared/logging-wIy4zY9I.d.mts:33

Inherited from

RolldownLog.plugin


pluginCode?

ts
optional pluginCode: unknown;

Defined in: node_modules/.pnpm/rolldown@1.0.0-rc.1/node_modules/rolldown/dist/shared/logging-wIy4zY9I.d.mts:34

Inherited from

RolldownLog.pluginCode


pos?

ts
optional pos: number;

Defined in: node_modules/.pnpm/rolldown@1.0.0-rc.1/node_modules/rolldown/dist/shared/logging-wIy4zY9I.d.mts:35

Inherited from

RolldownLog.pos


reexporter?

ts
optional reexporter: string;

Defined in: node_modules/.pnpm/rolldown@1.0.0-rc.1/node_modules/rolldown/dist/shared/logging-wIy4zY9I.d.mts:36

Inherited from

RolldownLog.reexporter


stack?

ts
optional stack: string;

Defined in: node_modules/.pnpm/rolldown@1.0.0-rc.1/node_modules/rolldown/dist/shared/logging-wIy4zY9I.d.mts:45

Overrides

RolldownLog.stack


url?

ts
optional url: string;

Defined in: node_modules/.pnpm/rolldown@1.0.0-rc.1/node_modules/rolldown/dist/shared/logging-wIy4zY9I.d.mts:38

Inherited from

RolldownLog.url


watchFiles?

ts
optional watchFiles: string[];

Defined in: node_modules/.pnpm/rolldown@1.0.0-rc.1/node_modules/rolldown/dist/shared/logging-wIy4zY9I.d.mts:46

Released under the MIT License.