home | tech | misc | code | bookmarks (broken) | contact | README

Erlang notes


Error with Mnesia: "no function clause matching ..."

If you get a crypt error like that:

4> test:vai().
** exception error: no function clause matching
     in function  test:customer_all/0

Check if you insert the following line on the top of your file:


The inclusion of the qlc.hrl header is necessary if you want to use Mnesia in your module. Got this tip from this reference.