@darkwolf/qiwi.mjs
Version:
12 lines (9 loc) • 364 B
JavaScript
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)
}
}