Use ArgumentError instead of obscure error