[Pharo-project] detecting if method has an prim error code