(pattern: string | undefined)
| 227 | return new VimError(ErrorCode.NoRangeAllowed, 'No range allowed'); |
| 228 | } |
| 229 | static PatternNotFound(pattern: string | undefined): VimError { |
| 230 | return new VimError( |
| 231 | ErrorCode.PatternNotFound, |
| 232 | pattern !== undefined ? `Pattern not found: ${pattern}` : 'Pattern not found', |
| 233 | ); |
| 234 | } |
| 235 | static TrailingCharacters(chars?: string): VimError { |
| 236 | return new VimError( |
| 237 | ErrorCode.TrailingCharacters, |
no outgoing calls
no test coverage detected