pub struct Error {
pub proc: Option<Arc<DaggerSessionProc>>,
pub selection: Selection,
pub graphql_client: DynGraphQLClient,
}Fields§
§proc: Option<Arc<DaggerSessionProc>>§selection: Selection§graphql_client: DynGraphQLClientImplementations§
Source§impl Error
impl Error
Sourcepub async fn id(&self) -> Result<ErrorId, DaggerError>
pub async fn id(&self) -> Result<ErrorId, DaggerError>
A unique identifier for this Error.
Sourcepub async fn message(&self) -> Result<String, DaggerError>
pub async fn message(&self) -> Result<String, DaggerError>
A description of the error.
Sourcepub async fn values(&self) -> Result<Vec<ErrorValue>, DaggerError>
pub async fn values(&self) -> Result<Vec<ErrorValue>, DaggerError>
The extensions of the error.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Error
impl !RefUnwindSafe for Error
impl Send for Error
impl Sync for Error
impl Unpin for Error
impl UnsafeUnpin for Error
impl !UnwindSafe for Error
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