Oracle allows you to create an object (procedures, packages, etc) even in invalid state. Then when you make a call to any of this Oracle raise an error.
Bee could check after an object creation either it's valid or invalid and show an Error. DBA_OBJECTS stores this kind of information and can be used for this purpose.