@nomiclabs/buidler > BuidlerPluginError

Class: BuidlerPluginError

This class is used to throw errors from buidler plugins. Resolves automatically the plugin's name from which it's being thrown.

Hierarchy

Error

↳ BuidlerPluginError

Index

Constructors

Properties


Constructors

constructor

new BuidlerPluginError(message: string, parent?: Error): BuidlerPluginError

Defined in internal/core/errors.ts:66

Creates a BuidlerPluginError.

Parameters:

Name Type Description
message string an error message.
Optional parent Error an error.

Returns: BuidlerPluginError


Properties

isBuidlerPluginError

● isBuidlerPluginError: true

Defined in internal/core/errors.ts:66


message

● message: string

Inherited from Error.message

Defined in typescript/lib/lib.es5.d.ts:964


name

● name: string

Inherited from Error.name

Defined in typescript/lib/lib.es5.d.ts:963


<Optional> parent

● parent: Error

Defined in internal/core/errors.ts:73

an error.


pluginName

● pluginName: string

Defined in internal/core/errors.ts:65


<Optional> stack

● stack: undefined | string

Inherited from Error.stack

Overrides Error.stack

Defined in typescript/lib/lib.es5.d.ts:965


<Static> Error

● Error: ErrorConstructor

Defined in typescript/lib/lib.es5.d.ts:974