@nomiclabs/buidler > BuidlerError

Class: BuidlerError

Hierarchy

Error

↳ BuidlerError

Index

Constructors

Properties

Methods


Constructors

constructor

new BuidlerError(errorDescription: ErrorDescription, messageArguments?: object, parentError?: Error): BuidlerError

Defined in internal/core/errors.ts:24

Parameters:

Name Type Default value
errorDescription ErrorDescription -
Default value messageArguments object {}
Optional parentError Error -

Returns: BuidlerError


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


number

● number: number

Defined in internal/core/errors.ts:21


<Optional> parent

● parent: Error

Defined in internal/core/errors.ts:22


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

isBuidlerError(other: any): boolean

Defined in internal/core/errors.ts:15

Parameters:

Name Type
other any

Returns: boolean