Error Codes

  • ERR_ENTITY_NOT_FOUND // When fetching an entity by Key that is not in Datastore

Validation

Here is the list of error codes returned by the gstore Validation. Joi validation will have different code, please refer to their documentation.

  • ERR_GENERIC // Generic Error type

  • ERR_VALIDATION // Global Validation Error (on the whole schema)

  • ERR_PROP_TYPE // Property Type error

  • ERR_PROP_VALUE // Property Value error

  • ERR_PROP_NOT_ALLOWED // Property not allowed

  • ERR_PROP_REQUIRED // Property is required

  • ERR_PROP_IN_RANGE // Value not in the defined values

Last updated