fprpcstrings.pp 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. unit fprpcstrings;
  2. {$mode ObjFPC}{$H+}
  3. interface
  4. Resourcestring
  5. SErrInvalidPath = 'Invalid path';
  6. SErrUnknownServiceName = 'Unknown service name : "%s"';
  7. SErrUnknownServiceGUID = 'Unknown service GUID : "%s"';
  8. SErrSupportedServiceName = 'Interface does not support service: "%s"';
  9. SErrExpectedReturnButNoServerReturn = 'Method "%s" expects return values, but no result was returned';
  10. SErrInvalidServerResponse = 'Invalid server response';
  11. SErrDuplicateParam = 'Duplicate JSON-RPC Parameter name';
  12. SErrUnknownParamDef = 'Unknown parameter definition: "%s"';
  13. SErrParams = 'Error checking JSON-RPC parameters: "%s"';
  14. SErrParamsMustBeArrayorObject = 'Parameters must be passed in an object or an array.';
  15. SErrParamsMustBeObject = 'Parameters must be passed in an object.';
  16. SErrParamsMustBeArray = 'Parameters must be passed in an array.';
  17. SErrParamsRequiredParamNotFound = 'Required parameter "%s" not found.';
  18. SErrParamsRequiredParams = '%d parameter(s) required, but no parameters found in request.';
  19. SErrParamsDataTypeMismatch = 'Expected parameter "%s" having type "%s", got "%s".';
  20. SErrParamsNotAllowd = 'Parameter "%s" is not allowed.';
  21. SErrParamsOnlyObjectsInArray = 'Array elements must be objects, got %s at position %d.';
  22. SErrRequestMustBeObject = 'JSON-RPC Request must be an object.';
  23. SErrNoIDProperty = 'No "id" property found in request.';
  24. SErrInvalidIDProperty = 'Type of "id" property is not correct.';
  25. SErrNoJSONRPCProperty = 'No "jsonrpc" property in request.';
  26. SErrInvalidJSONRPCProperty = 'Type or value of "jsonrpc" property is not correct.';
  27. SErrNoMethodName = 'Cannot determine method: No "%s" property found in request.';
  28. SErrNoClassName = 'Cannot determine class: No "%s" property found in request.';
  29. SErrNoParams = 'Cannot determine parameters: No "%s" property found in request.';
  30. SErrInvalidMethodType = 'Type of "%s" property in request is not correct.';
  31. SErrInvalidClassNameType = 'Type of "%s" property in request is not correct.';
  32. SErrJSON2NotAllowed = 'JSON RPC 2 calls are not allowed.';
  33. SErrJSON1NotAllowed = 'JSON RPC 1 calls are not allowed.';
  34. SErrNoResponse = 'No response received from non-notification method "%s".';
  35. SErrResponseFromNotification = 'A response was received from a notification method "%s".';
  36. SErrInvalidMethodName = 'No method "%s" was found.';
  37. SErrInvalidClassMethodName = 'No class "%s" with method "%s" was found.';
  38. SErrDuplicateJSONRPCClassHandlerName = 'Duplicate JSON-RPC handler for class "%s" with method "%s".';
  39. SErrDuplicateJSONRPCHandlerName = 'Duplicate JSON-RPC handler for method "%s".';
  40. SErrUnknownJSONRPCClassMethodHandler = 'Unknown JSON-RPC handler for class "%s", method "%s".';
  41. SErrUnknownJSONRPCMethodHandler = 'Unknown JSON-RPC handler for method "%s".';
  42. SErrDuplicateRPCCLassMethodHandler = 'Duplicate JSON-RPC handler for class "%s", method "%s".';
  43. SErrDuplicateRPCMethodHandler = 'Duplicate JSON-RPC handler for method "%s".';
  44. SErrNoDispatcher = 'No method dispatcher available to handle request.';
  45. SErrUnknownMethodForClass = 'unknown method name for class %s: %s';
  46. SErrCreatorDoesNotSupportInterface = 'Creator does not support interface %s';
  47. implementation
  48. end.