error property

  1. @TagNumber.new(2)
ErrorSet get error

The set of errors in the critical path of evalution.

Only errors in the critical path are included. For example, (<error1> || true) && <error2> will only result in <error2>, while <error1> || <error2> will result in both <error1> and <error2>.

Errors cause by the presence of other errors are not included in the set. For example <error1>.foo, foo(<error1>), and <error1> + 1 will only result in <error1>.

Multiple errors might be included when evaluation could result in different errors. For example <error1> + <error2> and foo(<error1>, <error2>) may result in <error1>, <error2> or both. The exact subset of errors included for this case is unspecified and depends on the implementation details of the evaluator.

Implementation

@$pb.TagNumber(2)
ErrorSet get error => $_getN(1);
  1. @TagNumber.new(2)
set error (ErrorSet value)

Implementation

@$pb.TagNumber(2)
set error(ErrorSet value) => $_setField(2, value);