Exporting underlying error as well