\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



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