[−][src]Enum docql::Error
All of the possible errors that can occur
Variants
Date(String)
The call to get the current date from the runtime failed
Args(String)
The call to get the command-line arguments from the runtime failed
Query(String)
The call to get the GraphQL Schema from the runtime via a GraphQL endpoint failed
ReadSchemaFile(String)
The call to get the GraphQL Schema from the runtime via a schema file failed
The call to the runtime to prepare the output directory failed
The call to the runtime to write a file failed
Serde(Error)
Parsing the GraphQL schema as a serde object failed
HandlebarsTemplate(TemplateError)
Loading a handlebars template failed
HandlebarsRender(RenderError)
Rendering a handlebars template failed
ClapError(Error)
An error occurred parsing arguments
Implementations
impl Error
[src]
Trait Implementations
impl Debug for Error
[src]
impl Display for Error
[src]
impl Error for Error
[src]
fn source(&self) -> Option<&(dyn Error + 'static)>
[src]
fn backtrace(&self) -> Option<&Backtrace>
[src]
fn description(&self) -> &str
1.0.0[src]
fn cause(&self) -> Option<&dyn Error>
1.0.0[src]
impl From<Error> for Error
[src]
impl From<Error> for Error
[src]
impl From<RenderError> for Error
[src]
fn from(source: RenderError) -> Self
[src]
impl From<TemplateError> for Error
[src]
fn from(source: TemplateError) -> Self
[src]
Auto Trait Implementations
impl !RefUnwindSafe for Error
impl Send for Error
impl Sync for Error
impl Unpin for Error
impl !UnwindSafe for Error
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,