(message: string)
| 94 | } |
| 95 | |
| 96 | export function dataDirIncompatible(message: string): ApiError { |
| 97 | return new ApiError(ApiErrorCode.DATA_DIR_INCOMPATIBLE, message) |
| 98 | } |
| 99 | |
| 100 | export function serverError(message = 'Internal server error'): ApiError { |
| 101 | return new ApiError(ApiErrorCode.SERVER_ERROR, message) |
no outgoing calls
no test coverage detected