Add a new error code and use Symfony's constants for HTTP codes
Add unit tests