class

GRPC::Status

Inherits Reference < Object

Constructors

cancelled(message = "") : Status
Source
internal(message = "") : Status
Source
invalid_argument(message = "") : Status
Source
new(code : StatusCode, message : String = "", details : Bytes | Nil = nil)
Source
not_found(message = "") : Status
Source
resource_exhausted(message = "") : Status
Source
unavailable(message = "") : Status
Source
unimplemented(message = "") : Status
Source
unknown(message = "") : Status
Source

Instance methods

==(other : self) : Bool

Returns true if this reference is the same as other. Invokes same?.

Source
code
Source
details
Source
hash(hasher)

See Object#hash(hasher)

Source
message
Source
to_s(io : IO) : Nil

Appends a short String representation of this object which includes its class name and its object address.

class Person
  def initialize(@name : String, @age : Int32)
  end
end

Person.new("John", 32).to_s # => #<Person:0x10a199f20>
Source