@nomiclabs/buidler > BuidlerPluginError

# Class: BuidlerPluginError

# Hierarchy

CustomError

↳ BuidlerPluginError

NomicLabsBuidlerPluginError

# Index

# Constructors

# Properties

# Methods


# Constructors

# constructor

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

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

Overrides CustomError.__constructor

Defined in internal/core/errors.ts:95

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

Overrides CustomError.__constructor

Defined in internal/core/errors.ts:104

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

Inherited from CustomError.parent

Defined in internal/core/errors.ts:9


# pluginName

● pluginName: string

Defined in internal/core/errors.ts:93


# <Optional> stack

● stack: undefined | string

Inherited from Error.stack

Overrides Error.stack

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


# Methods

# __computed

__computed(): undefined | string

Inherited from CustomError.[inspect]

Defined in internal/core/errors.ts:25

Returns: undefined | string


# <Static> isBuidlerPluginError

isBuidlerPluginError(other: any): boolean

Defined in internal/core/errors.ts:85

Parameters:

Name Type
other any

Returns: boolean