@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:59

Creates a BuidlerPluginError.

Parameters:

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

Returns: BuidlerPluginError


Properties

<Optional> parent

● parent: Error

Defined in internal/core/errors.ts:66

an error.


pluginName

● pluginName: string

Defined in internal/core/errors.ts:59


<Static> Error

● Error: ErrorConstructor

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