(name: string)
| 176 | return new VimError(ErrorCode.NotEnoughArgs, `Not enough arguments for function: ${func}`); |
| 177 | } |
| 178 | static UndefinedVariable(name: string): VimError { |
| 179 | return new VimError(ErrorCode.UndefinedVariable, `Undefined variable: ${name}`); |
| 180 | } |
| 181 | static ErrorWritingToFile(): VimError { |
| 182 | return new VimError(ErrorCode.ErrorWritingToFile, 'Error writing to file'); |
| 183 | } |