Skip to content

Interface: RolldownError

Defined in: log/logging.ts:45

Extends

Properties

binding?

  • Type: string
  • Optional
Defined in: log/logging.ts:9

Inherited from

RolldownLog.binding


cause?

  • Type: unknown
  • Optional
Defined in: log/logging.ts:10

Inherited from

RolldownLog.cause


code?

  • Type: string
  • Optional
Defined in: log/logging.ts:15

The log code for this log object.

Example

ts
'PLUGIN_ERROR'

Inherited from

RolldownLog.code


exporter?

  • Type: string
  • Optional
Defined in: log/logging.ts:16

Inherited from

RolldownLog.exporter


frame?

  • Type: string
  • Optional
Defined in: log/logging.ts:17

Inherited from

RolldownLog.frame


hook?

  • Type: string
  • Optional
Defined in: log/logging.ts:18

Inherited from

RolldownLog.hook


id?

  • Type: string
  • Optional
Defined in: log/logging.ts:19

Inherited from

RolldownLog.id


ids?

  • Type: string[]
  • Optional
Defined in: log/logging.ts:20

Inherited from

RolldownLog.ids


loc?

  • Type: object with the properties below
  • Optional
Defined in: log/logging.ts:21

column

  • Type: number

file?

  • Type: string
  • Optional

line

  • Type: number

Inherited from

RolldownLog.loc


message

  • Type: string
Defined in: log/logging.ts: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?

  • Type: any
  • Optional
Defined in: log/logging.ts:31

Inherited from

RolldownLog.meta


name?

  • Type: string
  • Optional
Defined in: log/logging.ts:46

names?

  • Type: string[]
  • Optional
Defined in: log/logging.ts:32

Inherited from

RolldownLog.names


plugin?

  • Type: string
  • Optional
Defined in: log/logging.ts:33

Inherited from

RolldownLog.plugin


pluginCode?

  • Type: unknown
  • Optional
Defined in: log/logging.ts:34

Inherited from

RolldownLog.pluginCode


pos?

  • Type: number
  • Optional
Defined in: log/logging.ts:35

Inherited from

RolldownLog.pos


reexporter?

  • Type: string
  • Optional
Defined in: log/logging.ts:36

Inherited from

RolldownLog.reexporter


stack?

  • Type: string
  • Optional
Defined in: log/logging.ts:47

Overrides

RolldownLog.stack


url?

  • Type: string
  • Optional
Defined in: log/logging.ts:38

Inherited from

RolldownLog.url


watchFiles?

  • Type: string[]
  • Optional
Defined in: log/logging.ts:48