[functions.indicator] added missing 'available = true'
[functions] give nicer and a bit more meaningful error messages