@nomiclabs/buidler > BuidlerError

# Class: BuidlerError

# Hierarchy

CustomError

↳ BuidlerError

# Index

# Constructors

# Properties

# Methods


# Constructors

# constructor

new BuidlerError(errorDescriptor: ErrorDescriptor, messageArguments?: object, parentError: Error): BuidlerError

Overrides CustomError.__constructor

Defined in internal/core/errors.ts:57

Parameters:

Name Type Default value
errorDescriptor ErrorDescriptor -
Default value messageArguments object {}
Optional parentError Error -

Returns: BuidlerError


# Properties

# errorDescriptor

● errorDescriptor: ErrorDescriptor

Defined in internal/core/errors.ts:54


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


# <Optional> parent

● parent: Error

Inherited from CustomError.parent

Defined in internal/core/errors.ts:9


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

isBuidlerError(other: any): boolean

Defined in internal/core/errors.ts:48

Parameters:

Name Type
other any

Returns: boolean