pub fn from_view_error(e: &ViewError) -> Rejection
Maps a ViewError onto a rejection, unpacking the states it already carries rather than stringifying them into prose.
ViewError