# 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
