error static method

LDEvaluationReason error({
  1. required LDErrorKind errorKind,
})

Returns an LDEvaluationReason with the kind LDKind.error and the given errorKind.

Implementation

static LDEvaluationReason error({required LDErrorKind errorKind}) {
  return LDEvaluationReason._(LDKind.error, errorKind: errorKind);
}