Struct dagger_core::gql_client::GraphQLError
source · pub struct GraphQLError { /* private fields */ }Implementations§
source§impl GraphQLError
impl GraphQLError
pub fn with_text(message: impl AsRef<str>) -> Self
pub fn with_message_and_json( message: impl AsRef<str>, json: Vec<GraphQLErrorMessage> ) -> Self
pub fn with_json(json: Vec<GraphQLErrorMessage>) -> Self
pub fn message(&self) -> &str
pub fn json(&self) -> Option<Vec<GraphQLErrorMessage>>
Trait Implementations§
source§impl Clone for GraphQLError
impl Clone for GraphQLError
source§fn clone(&self) -> GraphQLError
fn clone(&self) -> GraphQLError
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 more