28 Commits

Author SHA1 Message Date
Mitchell Hashimoto
c5b81b5998 SSH gives error message if ssh binary is not found. [closes GH-161] 2010-09-29 23:47:17 -07:00
Mitchell Hashimoto
c30b5f4093 SSH gives proper error if VM is not running [closes GH-167] 2010-09-29 23:37:24 -07:00
Mitchell Hashimoto
7aded5e214 Errors and Plugin documentation 2010-09-23 10:04:52 -07:00
Mitchell Hashimoto
759bbd046b Raise proper exception if SSH connection is refused with message to help people. 2010-09-14 15:00:46 -06:00
Mitchell Hashimoto
9cc64fcb34 Configuration classes can now be validated. Nice error message shown in case of failure. 2010-09-05 11:02:48 -07:00
Mitchell Hashimoto
ce9ff73ea4 Show proper syntax error for Vagrantfiles [closes GH-155] 2010-09-04 14:33:53 -07:00
Mitchell Hashimoto
f85579a4de Give a nice error message if there is a syntax error in Vagrantfile [closes GH-154] 2010-09-03 14:23:47 -07:00
Mitchell Hashimoto
44963824a3 Add proper message when Vagrant is quit from interrupt 2010-09-01 18:07:47 -07:00
Mitchell Hashimoto
0094f066ca Warden properly handles interrupts 2010-09-01 16:15:24 -07:00
Mitchell Hashimoto
60c20565b2 Replace straight abort on interrupt with clean exit via exception 2010-09-01 14:50:15 -07:00
Mitchell Hashimoto
bb97b388f9 Convert VM errors to I18n exceptions 2010-09-01 14:26:53 -07:00
Mitchell Hashimoto
f85821c268 Refactor VagrantError to be more flexible so not as many subclasses will be needed 2010-09-01 08:27:29 -07:00
Mitchell Hashimoto
cf91f578fb Downloaders now raise exceptions instead of erroring environment 2010-09-01 07:22:14 -07:00
Mitchell Hashimoto
39663f6f11 Finish replacement of "env.error!" with exceptions in VM actions 2010-09-01 07:13:37 -07:00
Mitchell Hashimoto
aa00d15206 Few more VM actions converted to exceptions. Lots of errors gone. 2010-08-30 20:07:50 -07:00
Mitchell Hashimoto
72c3340336 About 1/3rd of the VM actions raise exceptions now 2010-08-30 19:39:11 -07:00
Mitchell Hashimoto
98bce8f836 General package action raises exceptions instead of using env.error 2010-08-28 13:54:59 -07:00
Mitchell Hashimoto
3e1ccf0c4f Convert box actions to raise exceptions rather than error environment 2010-08-28 12:31:55 -07:00
Mitchell Hashimoto
ccc45ebd7a Begin moving from error_and_exit to exceptions. Fail hard! 2010-08-28 12:23:40 -07:00
Mitchell Hashimoto
0b03502bf2 Converted final error_and_exit in ssh.rb to exceptions 2010-08-27 00:05:40 -07:00
Mitchell Hashimoto
bab369e856 SSHAuthenticationFailed error 2010-08-27 00:01:27 -07:00
Mitchell Hashimoto
500a63c269 Fix some bugs in the SSH tests, replace one error_and_exit with an exception 2010-08-26 23:51:30 -07:00
Mitchell Hashimoto
afab53bf9f Scope errors into the Errors namespace. VirtualBox version errors converted to I18n 2010-08-26 23:21:28 -07:00
Mitchell Hashimoto
1102eb77cc vagrant status output now uses the new I18n locale 2010-08-26 22:50:09 -07:00
Mitchell Hashimoto
e28947f18d Use I18n gem for string database. Refactor exceptions to use I18n. 2010-08-26 21:56:38 -07:00
Mitchell Hashimoto
4d56e68268 vagrant package 2010-08-24 23:25:01 -07:00
Mitchell Hashimoto
2f2ac59dd5 vagrant status 2010-08-24 17:23:46 -07:00
Mitchell Hashimoto
004ba551a6 Moved errors out into its own file so that vagrant.rb doesn't get too cluttered 2010-08-24 11:18:29 -07:00