code property

  1. @Deprecated('Not supported. Member documentation may have more information.')
String? code
getter/setter pair

Global error code.

Deprecated and ignored. Set custom error codes in ErrorProto.domain and ErrorProto.code instead. Possible string values are:

  • "BAD_REQUEST"
  • "FORBIDDEN"
  • "NOT_FOUND"
  • "CONFLICT"
  • "GONE"
  • "PRECONDITION_FAILED"
  • "INTERNAL_ERROR"
  • "SERVICE_UNAVAILABLE"

Implementation

@core.Deprecated(
  'Not supported. Member documentation may have more information.',
)
core.String? code;