Exception: Protobuf::Rpc::ForbiddenRequest

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 = 'User authentificated but does not have permissions') ⇒ ForbiddenRequest

Returns a new instance of ForbiddenRequest.



49
50
51
# File 'lib/protobuf/rpc/error/server_error.rb', line 49

def initialize message='User authentificated but does not have permissions'
  super message, 'FORBIDDEN_REQUEST'
end