added inputError macro

hotovo