If you deploy a contract with the help of truffle possibly on a development environment and you get the following error message:
"Error encountered, bailing. Network state unknown. Review successful transactions manually
Error: The contract code couldn't be stored, please check your gas amount."
Well, there might be the problem of the real gas amount at the deployment, but most typically you want to deploy a contract that has an abstract method, or it inherits coincidentally and abstract method that is not implemented.