I don't thing it would break any code if you change the way to return $null instead of an error message.