summaryrefslogtreecommitdiff
path: root/lib/chef_zero/errors.rb
diff options
context:
space:
mode:
authorJohn Keiser <john@johnkeiser.com>2015-06-22 12:00:10 -0700
committerJohn Keiser <john@johnkeiser.com>2015-06-22 12:07:53 -0700
commit063b4f73488391c63782b8971dc1e12cafcc7834 (patch)
tree16991644b735a0d6ffad0b7b7f89f51989d4f9e4 /lib/chef_zero/errors.rb
parent28fe2928469885b0138de4d4270c6eccac8ab482 (diff)
downloadchef-zero-063b4f73488391c63782b8971dc1e12cafcc7834.tar.gz
Add thread safety for the serverjk/server_thread_safety
Diffstat (limited to 'lib/chef_zero/errors.rb')
-rw-r--r--lib/chef_zero/errors.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/chef_zero/errors.rb b/lib/chef_zero/errors.rb
new file mode 100644
index 0000000..587b198
--- /dev/null
+++ b/lib/chef_zero/errors.rb
@@ -0,0 +1,4 @@
+module ChefZero
+ class ChefZeroError < StandardError; end
+ class AlreadyStartedError < ChefZeroError; end
+end