error respond-type
Тип значения `respond` (или последнего шага) не совпадает с результатом пайплайна.
What it means#
The value given to respond (or, without respond, the value of the last step) is the result of the pipeline call. Its type must be the declared result type R.
Example#
fn double(n: i32) -> i32 => n * 2
pipeline conv(n: i32) -> str {
double
-> respond it // <- respond-type
}error
respond-type
How to fix#
Change the declared result type or convert the value before respond.