error property

  1. @TagNumber(1)
String get error

Error message. If non-empty, code generation failed. The plugin process should exit with status code zero even if it reports an error in this way.

This should be used to indicate errors in .proto files which prevent the code generator from generating correct code. Errors which indicate a problem in protoc itself -- such as the input CodeGeneratorRequest being unparseable -- should be reported by writing a message to stderr and exiting with a non-zero status code.

Implementation

@$pb.TagNumber(1)
$core.String get error => $_getSZ(0);
  1. @TagNumber(1)
set error (String v)

Implementation

@$pb.TagNumber(1)
set error($core.String v) { $_setString(0, v); }