🎩 You're Invited:Meet the Socket team at Black Hat in Las Vegas, August 3-6.RSVP
Sign In

@yqg/reporter

Package Overview
Dependencies
Maintainers
16
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@yqg/reporter

FE Error Reporter

latest
npmnpm
Version
1.1.0
Version published
Maintainers
16
Created
Source

@yqg/reporter

JSNLog based logging library & error reporter.

Install

Using npm:

npm install @yqg/reporter

Using yarn:

yarn add @yqg/reporter

Usage

import YqgReporter, {reportBuilder, setIgnoreError, addWarnExceptionName} from '@yqg/reporter';

setIgnoreError(err => err.isAxiosError); // ignore specified error

addWarnExceptionName('ChunkLoadError'); // downgrade fatal to warn with error name

YqgReporter.log(reportBuild.getWarnLevel(), {}, error); // report error at warn level

YqgReporter.fatalException({}, error);

FAQs

Package last updated on 07 Dec 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts