Catch error for parameters with colon