@qiwi/substrate-abstract
v2.1.0
Published
Abstract classes
Downloads
6,605
Readme
@qiwi/substrate-abstract
Abstract classes collection.
Typedoc: https://qiwi.github.io/substrate/abstract/
Install
yarn add @qiwi/substrate-abstract -D
npm add @qiwi/substrate-abstract -D
Usage
import { AbstractError } from '@qiwi/substrate-abstract'
class CustomError extends AbstractError {
foo: string
constructor(args) {
super(...args)
this.foo = 'bar'
}
}