import { Context } from '../context' ; import { ChainError } from '../chain-error' ; import { BaseLink } from './base-link' ; export class NullLink extends BaseLink { next ( _context ) { throw new ChainError ( ) ; } }