pub(crate) fn ret_parse_error( reason: String, loc: Option<Location>, ) -> CoprParseSnafu<String, Option<Location>>
Return a CoprParseSnafu for you to chain fail() to return correct err Result type