Raise ArgumentError rather than RuntimeError with bad settings