(code: ErrorCode, p: string)
| 66 | } |
| 67 | |
| 68 | public static FileError(code: ErrorCode, p: string): ApiError { |
| 69 | return new ApiError(code, ErrorStrings[code], p); |
| 70 | } |
| 71 | public static ENOENT(path: string): ApiError { |
| 72 | return this.FileError(ErrorCode.ENOENT, path); |
| 73 | } |
no outgoing calls
no test coverage detected