class Gruf::Client::Error
Represents an error that was returned from the server's trailing metadata. Used as a custom exception object that is instead raised in the case of the service returning serialized error data, as opposed to the normal GRPC::BadStatus error
Attributes
error[R]
@return [Object] error The deserialized error
Public Class Methods
new(error)
click to toggle source
Initialize the client error
@param [Object] error The deserialized error
Calls superclass method
# File lib/gruf/client/error.rb, line 34 def initialize(error) @error = error super end