@nomiclabs/buidler > BuidlerPluginError

# Class: BuidlerPluginError

# Hierarchy

Error

↳ BuidlerPluginError

# Index

# Constructors

# Properties

# Methods


# Constructors

# constructor

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

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

Defined in internal/core/errors.ts:62

Parameters:

Name Type Description
pluginName string The name of the plugin.
message string An error message that will be shown to the user.
Optional parent Error The error that causes this error to be thrown.

Returns: BuidlerPluginError

Defined in internal/core/errors.ts:71

Parameters:

Name Type Description
message string An error message that will be shown to the user.
Optional parent Error The error that causes this error to be thrown.

Returns: BuidlerPluginError


# Properties

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


# pluginName

● pluginName: string

Defined in internal/core/errors.ts:60


# <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


# Methods

# <Static> isBuidlerPluginError

isBuidlerPluginError(other: any): boolean

Defined in internal/core/errors.ts:51

Parameters:

Name Type
other any

Returns: boolean