Exceptions
Custom Dagger exceptions.
Client execution
- exception dagger.QueryError(errors: list[QueryErrorValue], *_)
Bases:
ClientErrorThe server returned an error for a specific query.
- debug_query()[source]
Return GraphQL query for debugging purposes.
Example:
try: await ctr except dagger.QueryError as e: print(e.debug_query())
- property error: QueryErrorValue
- exception dagger.ExecError(errors: list[QueryErrorValue], *_)
Bases:
QueryErrorAPI error from an exec operation.
- __annotate_func__()
The type of the None singleton.
Client connection
- exception dagger.ClientError
Bases:
DaggerErrorBase class for client errors.
- exception dagger.ClientConnectionError
Bases:
ClientErrorError while establishing a client connection to the server.
- exception dagger.TransportError
Bases:
ClientErrorError processing request/response during query execution.
- exception dagger.InvalidQueryError
Bases:
ClientErrorMisuse of the query builder.
Engine provisioning
- exception dagger.ProvisionError
Bases:
DaggerErrorError while provisioning the Dagger engine.
- exception dagger.DownloadError
Bases:
ProvisionErrorError while downloading the Dagger CLI.
- exception dagger.SessionError
Bases:
ProvisionErrorError while starting an engine session.