diff options
author | Ash McKenzie <amckenzie@gitlab.com> | 2018-07-26 18:19:43 +1000 |
---|---|---|
committer | Ash McKenzie <amckenzie@gitlab.com> | 2018-08-01 00:24:16 +1000 |
commit | 7a2c47f2e1ba2baacfe0ad228898aa341055a141 (patch) | |
tree | f9967544ae331450d4cdde116ddd36dcfb4d1d1c /lib/errors.rb | |
parent | aa4d2ba8c109948a13f58787a269205be1abd11d (diff) | |
download | gitlab-shell-7a2c47f2e1ba2baacfe0ad228898aa341055a141.tar.gz |
Move common exceptions into errors.rb
Diffstat (limited to 'lib/errors.rb')
-rw-r--r-- | lib/errors.rb | 4 |
1 files changed, 4 insertions, 0 deletions
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 |