better error info

This decorates outgoing errors with the filename of the error, and improves the error messaging around unfulfilled mappings.

cc @mikolalysenko @hughsk