Throw correct controller name on error