pub enum SchemaIntrospectionError {
SuspectedValidationBug(SuspectedValidationBug),
Unsupported {
message: String,
location: Option<NodeLocation>,
},
}
Variants§
SuspectedValidationBug(SuspectedValidationBug)
Unsupported
Implementations§
source§impl SchemaIntrospectionError
impl SchemaIntrospectionError
sourcepub fn into_graphql_error(self, sources: &SourceMap) -> GraphQLError
pub fn into_graphql_error(self, sources: &SourceMap) -> GraphQLError
Convert into a JSON-serializable error as represented in a GraphQL response
sourcepub fn into_response(self, sources: &SourceMap) -> Response
pub fn into_response(self, sources: &SourceMap) -> Response
Convert into a response with this error as a request error that prevented execution from starting.
Trait Implementations§
source§impl From<SuspectedValidationBug> for SchemaIntrospectionError
impl From<SuspectedValidationBug> for SchemaIntrospectionError
source§fn from(value: SuspectedValidationBug) -> Self
fn from(value: SuspectedValidationBug) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for SchemaIntrospectionError
impl RefUnwindSafe for SchemaIntrospectionError
impl Send for SchemaIntrospectionError
impl Sync for SchemaIntrospectionError
impl Unpin for SchemaIntrospectionError
impl UnwindSafe for SchemaIntrospectionError
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