Move error creation to meck_proc