A built-in function or guard was called with an argument of the wrong type or an otherwise invalid value. This is the most common error reason in Erlang programs.
badarg
erlang A built-in function or guard was called with an argument of the wrong type or an otherwise invalid value. This is the most common error reason in Erlang programs.