UNPKG

hardhat-graph-protocol

Version:

A hardhat plugin that extends the runtime environment to inject additional functionality related to the usage of the Graph Protocol.

11 lines (8 loc) 257 B
import { HardhatPluginError } from 'hardhat/plugins' import { logError } from './logger' export class GraphPluginError extends HardhatPluginError { constructor(message: string) { super('GraphRuntimeEnvironment', message) logError(message) } }