Struct router_bridge::planner::WorkerError
source · pub struct WorkerError {
pub message: Option<String>,
pub name: Option<String>,
pub stack: Option<String>,
pub extensions: Option<PlanErrorExtensions>,
pub locations: Vec<Location>,
}Expand description
WorkerError represents the non GraphQLErrors the deno worker can throw. We try to get as much data out of them.
Fields§
§message: Option<String>The error message
name: Option<String>The error kind
stack: Option<String>A stacktrace if applicable
extensions: Option<PlanErrorExtensions>§locations: Vec<Location>If an error can be associated to a particular point in the requested GraphQL document, it should contain a list of locations.
Trait Implementations§
source§impl Clone for WorkerError
impl Clone for WorkerError
source§fn clone(&self) -> WorkerError
fn clone(&self) -> WorkerError
Returns a copy 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 WorkerError
impl Debug for WorkerError
source§impl<'de> Deserialize<'de> for WorkerError
impl<'de> Deserialize<'de> for WorkerError
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 Display for WorkerError
impl Display for WorkerError
source§impl From<WorkerError> for PlannerError
impl From<WorkerError> for PlannerError
source§fn from(e: WorkerError) -> Self
fn from(e: WorkerError) -> Self
Converts to this type from the input type.
source§impl PartialEq for WorkerError
impl PartialEq for WorkerError
source§fn eq(&self, other: &WorkerError) -> bool
fn eq(&self, other: &WorkerError) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl Serialize for WorkerError
impl Serialize for WorkerError
impl Eq for WorkerError
impl StructuralEq for WorkerError
impl StructuralPartialEq for WorkerError
Auto Trait Implementations§
impl RefUnwindSafe for WorkerError
impl Send for WorkerError
impl Sync for WorkerError
impl Unpin for WorkerError
impl UnwindSafe for WorkerError
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
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.