dagger/dsl/error
Values
pub fn error(message message: String) -> types.Error
pub fn message(
parent: types.Error,
client client: types.Client,
then handler: fn(Result(String, types.QueryError)) -> a,
) -> a
A description of the error.
pub fn values(
parent: types.Error,
select select: fn(types.ErrorValue) -> List(types.Field),
client client: types.Client,
then handler: fn(
Result(List(types.ErrorValue), types.QueryError),
) -> a,
) -> a
The extensions of the error.
pub fn with_value(
parent: types.Error,
name name: String,
value value: String,
) -> types.Error
Add a value to the error.