Method: OpenCensus::Trace::Status#code
- Defined in:
- lib/opencensus/trace/status.rb
#code ⇒ Integer (readonly)
The status code. Allowed values are the Google RPC status codes defined at https://github.com/googleapis/googleapis/blob/master/google/rpc/code.proto and also provided as constants in this class.
251 252 253 |
# File 'lib/opencensus/trace/status.rb', line 251 def code @code end |