puppeteer-interceptor
Version:
Makes intercepting and modifying traffic from Puppeteer easier
17 lines (16 loc) • 602 B
TypeScript
export declare enum ERROR_REASON {
FAILED = "Failed",
ABORTED = "Aborted",
TIMEDOUT = "TimedOut",
ACCESS_DENIED = "AccessDenied",
CONNECTION_CLOSED = "ConnectionClosed",
CONNECTION_RESET = "ConnectionReset",
CONNECTION_REFUSED = "ConnectionRefused",
CONNECTION_ABORTED = "ConnectionAborted",
CONNECTION_FAILED = "ConnectionFailed",
NAME_NOT_RESOLVED = "NameNotResolved",
INTERNET_DISCONNECTED = "InternetDisconnected",
ADDRESS_UNREACHABLE = "AddressUnreachable",
BLOCKED_BY_CLIENT = "BlockedByClient",
BLOCKED_BY_RESPONSE = "BlockedByResponse"
}