sqldbrestconst.pp 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. {
  2. This file is part of the Free Pascal run time library.
  3. Copyright (c) 2019 by the Free Pascal development team
  4. SQLDB REST bridge constants.
  5. See the file COPYING.FPC, included in this distribution,
  6. for details about the copyright.
  7. This program is distributed in the hope that it will be useful,
  8. but WITHOUT ANY WARRANTY; without even the implied warranty of
  9. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
  10. **********************************************************************}
  11. unit sqldbrestconst;
  12. {$mode objfpc}{$H+}
  13. interface
  14. Resourcestring
  15. SErrNoconnection = 'Could not determine connection for resource "%s"';
  16. SErrUnexpectedException = 'An unexpected exception %s occurred with message: %s';
  17. SErrFieldWithoutRow = 'Attempt to write field %s without active row!';
  18. SErrUnsupportedRestFieldType = 'Unsupported REST field type : %s';
  19. SErrDoubleRowStart = 'Starting row within active row';
  20. SErrMissingParameter = 'No value provided for parameter: "%s"';
  21. SErrInvalidParam = 'Invalid value for parameter: "%s"';
  22. SErrFilterParamNotFound = 'Filter parameter for field "%s" not found.';
  23. SErrResourceNameEmpty = 'Resource Public name is not allowed to be empty.';
  24. SErrDuplicateResource = 'Duplicate resource name : %s';
  25. SErrUnknownStatement = 'Unknown kind of statement : %d';
  26. SErrRegisterUnknownStreamerClass = 'Registering streamer of unknown class: %s';
  27. SErrUnRegisterUnknownStreamerClass = 'Unregistering streamer of unknown class: %s';
  28. SErrLimitNotSupported = 'Limit not supported by database backend';
  29. SErrInvalidSortField = 'Field "%s" cannot be sorted on';
  30. SErrInvalidSortDescField = 'Field "%s" cannot be sorted DESC';
  31. SErrInvalidBooleanForField = 'Invalid boolean value for NULL filter on field "%s"';
  32. SErrNoKeyParam = 'No key parameter specified';
  33. SErrUnknownOrUnSupportedFormat = 'Unknown or unsupported streaming format: %s';
  34. SUnauthorized = 'Unauthorized';
  35. SErrInvalidXMLInputMissingElement = 'Invalid XML input: missing %s element ';
  36. SErrInvalidXMLInput = 'Invalid XML input: %s';
  37. SErrMissingDocumentRoot = 'Missing document root';
  38. SErrInvalidCDSMissingElement = 'Invalid CDS Data packet: missing %s element';
  39. SErrNoResourceDataFound = 'Failed to find resource data in input';
  40. Const
  41. DefaultAuthenticationRealm = 'REST API Server';
  42. ISODateTimeFormat = 'YYYY"-"mm"-"dd"T"hh":"nn":"ss"';
  43. ISODateFormat = ISODateTimeFormat;
  44. ISOTimeFormat = '"0000-00-00T"hh":"nn":"ss"';
  45. implementation
  46. end.