pub struct FlowErrorChallenge {
pub type: Option<String>,
pub flow_info: Option<Box<ContextualFlowInfo>>,
pub component: Option<String>,
pub response_errors: Option<HashMap<String, Vec<ErrorDetail>>>,
pub request_id: String,
pub error: Option<String>,
pub traceback: Option<String>,
}
Expand description
FlowErrorChallenge : Challenge class when an unhandled error occurs during a stage. Normal users are shown an error message, superusers are shown a full stacktrace.
Fields§
§type: Option<String>
§flow_info: Option<Box<ContextualFlowInfo>>
§component: Option<String>
§response_errors: Option<HashMap<String, Vec<ErrorDetail>>>
§request_id: String
§error: Option<String>
§traceback: Option<String>
Implementations§
Source§impl FlowErrorChallenge
impl FlowErrorChallenge
Sourcepub fn new(request_id: String) -> FlowErrorChallenge
pub fn new(request_id: String) -> FlowErrorChallenge
Challenge class when an unhandled error occurs during a stage. Normal users are shown an error message, superusers are shown a full stacktrace.
Trait Implementations§
Source§impl Clone for FlowErrorChallenge
impl Clone for FlowErrorChallenge
Source§fn clone(&self) -> FlowErrorChallenge
fn clone(&self) -> FlowErrorChallenge
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for FlowErrorChallenge
impl Debug for FlowErrorChallenge
Source§impl Default for FlowErrorChallenge
impl Default for FlowErrorChallenge
Source§fn default() -> FlowErrorChallenge
fn default() -> FlowErrorChallenge
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for FlowErrorChallenge
impl<'de> Deserialize<'de> for FlowErrorChallenge
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for FlowErrorChallenge
impl PartialEq for FlowErrorChallenge
Source§impl Serialize for FlowErrorChallenge
impl Serialize for FlowErrorChallenge
impl StructuralPartialEq for FlowErrorChallenge
Auto Trait Implementations§
impl Freeze for FlowErrorChallenge
impl RefUnwindSafe for FlowErrorChallenge
impl Send for FlowErrorChallenge
impl Sync for FlowErrorChallenge
impl Unpin for FlowErrorChallenge
impl UnwindSafe for FlowErrorChallenge
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more