Made error when bad argument passed in clearer.