Home Manual Reference Source

Overview

Installation

Can be managed using yarn, npm, or jspm.

yarn

yarn add @codec-bytes/error

npm

npm install @codec-bytes/error --save

jspm

jspm install npm:@codec-bytes/error

Usage

Import the library where needed

const {EncodeError, DecodeError} = await import('@codec-bytes/error');
// or
import {EncodeError, DecodeError} from '@codec-bytes/error';

Examples

More examples in the test files.