pub fn error(&self) -> Option<&ErrorResponse> {
        match self {
            Self::Response(_) => None,
            Self::Error(error) => Some(error),
        }
    }
/// Get error from wrapper if it exists
Get error from wrapper if it exists
Get error from wrapper if it exists
pub fn error(&self) -> Option<&ErrorResponse> {
        match self {
            Self::Response(_) => None,
            Self::Error(error) => Some(error),
        }
    }
pub fn error ( & self ) -> Option < & ErrorResponse > { match self { Self :: Response ( _ ) => None , Self :: Error ( error ) => Some ( error ) , } }
Get error from wrapper if it exists
Get error from wrapper if it exists
&self