UNPKG

@matterlabs/hardhat-zksync-verify

Version:
10 lines (8 loc) 414 B
import { ZkSyncVerifyPluginError } from '../errors'; export class ZksyncContractVerificationInvalidStatusCodeError extends ZkSyncVerifyPluginError { constructor(url: string, statusCode: number, responseText: string) { super(`Failed to send contract verification request. Endpoint URL: ${url} The HTTP server response is not ok. Status code: ${statusCode} Response text: ${responseText}`); } }