Exception: Protobuf::Rpc::UnauthorizedRequest

Inherits:
PbError
  • Object
show all
Defined in:
lib/protobuf/rpc/error/server_error.rb

Instance Attribute Summary

Attributes inherited from PbError

#error_type

Instance Method Summary collapse

Methods inherited from PbError

#encode, #to_response

Constructor Details

#initialize(message = 'The request requires user authentication') ⇒ UnauthorizedRequest

Returns a new instance of UnauthorizedRequest.



43
44
45
# File 'lib/protobuf/rpc/error/server_error.rb', line 43

def initialize message='The request requires user authentication'
  super message, 'UNAUTHORIZED_REQUEST'
end