Skip to content

Commit

Permalink
feat: Expose CriticalProcessingError
Browse files Browse the repository at this point in the history
  • Loading branch information
3y3 committed Jul 9, 2024
1 parent 51804b0 commit d5d5780
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/consumer/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ import {dropUselessTokens, eruler, gobble} from './utils';
import {split} from './split';
import {CriticalProcessingError} from './error';

export {CriticalProcessingError};

const replace = (from: number, to: number, source: string, past: string) => {
const start = source.slice(0, from);
const end = source.slice(to);
Expand Down
1 change: 1 addition & 0 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@ export type {ExtractOptions, ComposeOptions} from './api';

export {extract, compose} from './api';
export {linkRefs, unlinkRefs} from './json';
export {CriticalProcessingError} from './consumer';

0 comments on commit d5d5780

Please sign in to comment.