Skip to main content

from_view_error

Function from_view_error 

Source
pub fn from_view_error(e: &ViewError) -> Rejection
Expand description

Maps a ViewError onto a rejection, unpacking the states it already carries rather than stringifying them into prose.