add better error handling for build and deploy

- add message type to form messages
- show an error if you can't build properly