Use throw/catch only inside matchspec. Keep to_matchspec/1 and from_matchspec/1 as public