Auto-detect location of fpm
Make sure error object is namespaced correctly