Exception: Protocol::GRPC::Unauthenticated

Inherits:
Error
  • Object
show all
Defined in:
lib/protocol/grpc/error.rb

Overview

Represents an unauthenticated error.

Instance Attribute Summary

Attributes inherited from Error

#details, #metadata, #status_code

Instance Method Summary collapse

Methods inherited from Error

error_class_for_status, for

Constructor Details

#initialize(message = nil, **options) ⇒ Unauthenticated

Initialize an unauthenticated error.

Parameters:

  • options (Hash)

    a customizable set of options

Options Hash (**options):

  • :details (Object | Nil)

    Optional error details

  • :metadata (Hash)

    Custom metadata



128
129
130
# File 'lib/protocol/grpc/error.rb', line 128

def initialize(message = nil, **options)
	super(Status::UNAUTHENTICATED, message, **options)
end