(message = 'Internal server error')
| 76 | } |
| 77 | |
| 78 | export function serverError(message = 'Internal server error'): ApiError { |
| 79 | return new ApiError(ApiErrorCode.SERVER_ERROR, message) |
| 80 | } |
| 81 | |
| 82 | export function importInProgress(): ApiError { |
| 83 | return new ApiError(ApiErrorCode.IMPORT_IN_PROGRESS, 'Another import is already in progress') |
no outgoing calls
no test coverage detected