@nomiclabs/buidler > Anonymizer

# Class: Anonymizer

# Hierarchy

Anonymizer

# Index

# Constructors

# Methods


# Constructors

# constructor

new Anonymizer(_configPath: undefined | string): Anonymizer

Defined in internal/sentry/anonymizer.ts:8

Parameters:

Name Type
Optional _configPath undefined | string

Returns: Anonymizer


# Methods

# <Protected> _getFilePackageJsonPath

_getFilePackageJsonPath(filename: string): string | null

Defined in internal/sentry/anonymizer.ts:155

Parameters:

Name Type
filename string

Returns: string | null


# anonymize

anonymize(event: any): either.Either<string, Event>

Defined in internal/sentry/anonymizer.ts:16

Parameters:

Name Type
event any

Returns: either.Either<string, Event>


# anonymizeErrorMessage

anonymizeErrorMessage(errorMessage: string): string

Defined in internal/sentry/anonymizer.ts:95

Parameters:

Name Type
errorMessage string

Returns: string


# anonymizeFilename

anonymizeFilename(filename: string): object

Defined in internal/sentry/anonymizer.ts:47

Parameters:

Name Type
filename string

Returns: object


# raisedByBuidler

raisedByBuidler(event: Event): boolean

Defined in internal/sentry/anonymizer.ts:111

Parameters:

Name Type
event Event

Returns: boolean