\Phalcon\Validation\Message Phalocn 2.0

I'm migrating my project to Phalcon 2.0 and I have problem with \Phalcon\Validation\Message class. In Phalcon 2.0 this class doesn't have 'code' attribute - why? It was very usefull particularly when one validators has many possible messages

http://docs.phalconphp.com/en/latest/api/Phalcon%5Validation%5Message.html



802

you might need to extend it if you want to migrate smoothly