-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.ts
21 lines (20 loc) · 860 Bytes
/
index.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
import type { InvalidEscapeSequenceError } from '../InvalidEscapeSequenceError'
import type { DuplicateLabelError } from '../DuplicateLabelError'
import type { IncompleteEscapeSequenceError } from '../IncompleteEscapeSequenceError'
import type { UndefinedLabelError } from '../UndefinedLabelError'
import type { UnparsableError } from '../UnparsableError'
import type { UnterminatedBoldError } from '../UnterminatedBoldError'
import type { UnterminatedCodeError } from '../UnterminatedCodeError'
import type { UnterminatedItalicError } from '../UnterminatedItalicError'
/**
* An error generated while parsing a document.
*/
export type Error =
| DuplicateLabelError
| IncompleteEscapeSequenceError
| InvalidEscapeSequenceError
| UndefinedLabelError
| UnparsableError
| UnterminatedBoldError
| UnterminatedItalicError
| UnterminatedCodeError