Interface: RolldownError
Defined in: packages/rolldown/src/log/logging.ts:56
Extends
Properties
binding?
- Type:
string - Optional
Defined in: packages/rolldown/src/log/logging.ts:9
Inherited from
cause?
- Type:
unknown - Optional
Defined in: packages/rolldown/src/log/logging.ts:10
Inherited from
code?
- Type:
string - Optional
Defined in: packages/rolldown/src/log/logging.ts:18
The log code for this log object.
For errors / warnings / logs from plugins, it is always PLUGIN_ERROR / PLUGIN_WARNING / PLUGIN_LOG. If a plugin sets a code to identify a specific warning, Rolldown copies that code to pluginCode.
Example
ts
'PLUGIN_ERROR'Inherited from
exporter?
- Type:
string - Optional
Defined in: packages/rolldown/src/log/logging.ts:19
Inherited from
frame?
- Type:
string - Optional
Defined in: packages/rolldown/src/log/logging.ts:20
Inherited from
hook?
- Type:
string - Optional
Defined in: packages/rolldown/src/log/logging.ts:21
Inherited from
id?
- Type:
string - Optional
Defined in: packages/rolldown/src/log/logging.ts:22
Inherited from
ids?
- Type:
string[] - Optional
Defined in: packages/rolldown/src/log/logging.ts:23
Inherited from
loc?
- Type: object with the properties below
- Optional
Defined in: packages/rolldown/src/log/logging.ts:24
column
- Type:
number
file?
- Type:
string - Optional
line
- Type:
number
Inherited from
message
- Type:
string
Defined in: packages/rolldown/src/log/logging.ts:33
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
meta?
- Type:
any - Optional
Defined in: packages/rolldown/src/log/logging.ts:34
Inherited from
name?
- Type:
string - Optional
Defined in: packages/rolldown/src/log/logging.ts:57
names?
- Type:
string[] - Optional
Defined in: packages/rolldown/src/log/logging.ts:35
Inherited from
plugin?
- Type:
string - Optional
Defined in: packages/rolldown/src/log/logging.ts:41
The name of the plugin that caused this log.
This is set by Rolldown automatically when a plugin causes a log.
Inherited from
pluginCode?
- Type:
unknown - Optional
Defined in: packages/rolldown/src/log/logging.ts:45
The code set by the plugin that caused this log.
Inherited from
pos?
- Type:
number - Optional
Defined in: packages/rolldown/src/log/logging.ts:46
Inherited from
reexporter?
- Type:
string - Optional
Defined in: packages/rolldown/src/log/logging.ts:47
Inherited from
stack?
- Type:
string - Optional
Defined in: packages/rolldown/src/log/logging.ts:58
Overrides
url?
- Type:
string - Optional
Defined in: packages/rolldown/src/log/logging.ts:49
Inherited from
watchFiles?
- Type:
string[] - Optional
Defined in: packages/rolldown/src/log/logging.ts:59