Skip to content
This repository has been archived by the owner on Jan 4, 2021. It is now read-only.

Commit

Permalink
Change from Exception to RuntimeError
Browse files Browse the repository at this point in the history
 * This is best practice and better reflects the error
  • Loading branch information
mnoack committed Jul 2, 2015
1 parent 9e4d19a commit c71f638
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions lib/lagomorph/exceptions.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module Lagomorph
class Exception < ::Exception; end
class RpcError < Exception; end
Error = Class.new(RuntimeError)
RpcError = Class.new(Error)
end
2 changes: 1 addition & 1 deletion lib/lagomorph/version.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module Lagomorph
VERSION = '0.0.9'
VERSION = '0.1.0'
end

0 comments on commit c71f638

Please sign in to comment.