pub enum PlannerError {
WorkerGraphQLError(WorkerGraphQLError),
WorkerError(WorkerError),
}Expand description
This contains the set of all errors that can be thrown from deno
Variants§
WorkerGraphQLError(WorkerGraphQLError)
The deno GraphQLError counterpart
WorkerError(WorkerError)
The deno Error counterpart
Implementations§
Source§impl PlannerError
impl PlannerError
Sourcepub fn is_validation_error(&self) -> bool
pub fn is_validation_error(&self) -> bool
Return true if the error was a GraphQL validation error.
Trait Implementations§
Source§impl Clone for PlannerError
impl Clone for PlannerError
Source§fn clone(&self) -> PlannerError
fn clone(&self) -> PlannerError
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 PlannerError
impl Debug for PlannerError
Source§impl<'de> Deserialize<'de> for PlannerError
impl<'de> Deserialize<'de> for PlannerError
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 PlannerError
impl Display for PlannerError
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 From<WorkerGraphQLError> for PlannerError
impl From<WorkerGraphQLError> for PlannerError
Source§fn from(e: WorkerGraphQLError) -> Self
fn from(e: WorkerGraphQLError) -> Self
Converts to this type from the input type.
Source§impl PartialEq for PlannerError
impl PartialEq for PlannerError
Source§impl Serialize for PlannerError
impl Serialize for PlannerError
impl Eq for PlannerError
impl StructuralPartialEq for PlannerError
Auto Trait Implementations§
impl Freeze for PlannerError
impl RefUnwindSafe for PlannerError
impl Send for PlannerError
impl Sync for PlannerError
impl Unpin for PlannerError
impl UnwindSafe for PlannerError
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.