UNPKG

@darkwolf/qiwi.mjs

Version:
12 lines (9 loc) 364 B
import NotFoundError from './NotFoundError.mjs' export default class TransactionNotFoundError extends NotFoundError { static name = 'TransactionNotFoundError' static code = 'transaction-not-found' constructor(id) { super(`Transaction not found: '${id}'.`, TransactionNotFoundError.code) this.setName(TransactionNotFoundError.name) } }