From 7a2c47f2e1ba2baacfe0ad228898aa341055a141 Mon Sep 17 00:00:00 2001 From: Ash McKenzie Date: Thu, 26 Jul 2018 18:19:43 +1000 Subject: Move common exceptions into errors.rb --- lib/errors.rb | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 lib/errors.rb (limited to 'lib/errors.rb') diff --git a/lib/errors.rb b/lib/errors.rb new file mode 100644 index 0000000..7bef3b4 --- /dev/null +++ b/lib/errors.rb @@ -0,0 +1,4 @@ +class UnknownError < StandardError; end +class AccessDeniedError < StandardError; end +class InvalidRepositoryPathError < StandardError; end +class DisallowedCommandError < StandardError; end -- cgit v1.2.1