ServiceResult.onInternalError constructor

ServiceResult.onInternalError(
  1. String errorMessageKey
)

Implementation

factory ServiceResult.onInternalError(String errorMessageKey) {
  return ServiceResult._(
      httpCode: -1,
      headers: {},
      result: ServiceExecutionResult.failure_internal_error,
      entity: errorMessageKey);
}