Passing back exception for better error output