reason property

  1. @TagNumber.new(1)
String get reason

The reason of the error. This is a constant value that identifies the proximate cause of the error. Error reasons are unique within a particular domain of errors. This should be at most 63 characters and match a regular expression of [A-Z][A-Z0-9_]+[A-Z0-9], which represents UPPER_SNAKE_CASE.

Implementation

@$pb.TagNumber(1)
$core.String get reason => $_getSZ(0);
  1. @TagNumber.new(1)
set reason (String value)

Implementation

@$pb.TagNumber(1)
set reason($core.String value) => $_setString(0, value);